@@ -9,7 +9,6 @@ |
||
| 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; |
@@ -28,7 +28,7 @@ |
||
| 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 */ |