Completed
Pull Request — master (#146)
by Łukasz
17:07 queued 13:18
created
src/Handler/AddReviewHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
10 10
 use Sylius\Component\Core\Repository\ProductReviewRepositoryInterface;
11 11
 use Sylius\Component\Review\Factory\ReviewFactoryInterface;
12
-use Sylius\Component\Review\Model\ReviewInterface;
13 12
 use Sylius\ShopApiPlugin\Command\AddReview;
14 13
 use Sylius\ShopApiPlugin\Provider\ProductReviewerProviderInterface;
15 14
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Provider/CustomerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
     public function provide(string $email): CustomerInterface
30 30
     {
31
-        $customer =  $this->customerRepository->findOneBy(['email' => $email]);
31
+        $customer = $this->customerRepository->findOneBy(['email' => $email]);
32 32
 
33 33
         if (null === $customer) {
34 34
             /** @var CustomerInterface $customer */
Please login to merge, or discard this patch.