From dc708707649307306b16470cc6b1b87c1151f1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wojda=C5=82owicz?= Date: Tue, 17 May 2022 19:49:30 +0200 Subject: [PATCH] CR fixes --- src/Generator/BannerPathGenerator.php | 2 +- src/Provider/BannersProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Generator/BannerPathGenerator.php b/src/Generator/BannerPathGenerator.php index 619f945..f6d7683 100644 --- a/src/Generator/BannerPathGenerator.php +++ b/src/Generator/BannerPathGenerator.php @@ -14,7 +14,7 @@ use BitBag\SyliusBannerPlugin\Entity\BannerInterface; use Symfony\Component\HttpFoundation\File\File; -class BannerPathGenerator implements BannerPathGeneratorInterface +final class BannerPathGenerator implements BannerPathGeneratorInterface { public function generate(BannerInterface $banner): string { diff --git a/src/Provider/BannersProvider.php b/src/Provider/BannersProvider.php index c88d97b..96f63ca 100644 --- a/src/Provider/BannersProvider.php +++ b/src/Provider/BannersProvider.php @@ -14,7 +14,7 @@ use BitBag\SyliusBannerPlugin\Entity\AdInterface; use BitBag\SyliusBannerPlugin\Operator\BannersOperatorInterface; -class BannersProvider implements BannersProviderInterface +final class BannersProvider implements BannersProviderInterface { private BannersOperatorInterface $bannersOperator;