@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $this->getProductByName('Mug')->shouldReturn($product); |
46 | 46 | } |
47 | 47 | |
48 | - function it_throws_element_not_found_exception_if_product_has_not_been_found ( |
|
48 | + function it_throws_element_not_found_exception_if_product_has_not_been_found( |
|
49 | 49 | RepositoryInterface $productRepository |
50 | 50 | ) { |
51 | 51 | $productRepository->findOneBy(['name' => 'T-Shirt'])->willReturn(null); |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $this->getProductVariantByNameAndProduct('Eagle Millenium Mug', 'Mug')->shouldReturn($productVariant); |
66 | 66 | } |
67 | 67 | |
68 | - function it_throws_element_not_found_exception_if_product_variant_has_not_been_found ( |
|
68 | + function it_throws_element_not_found_exception_if_product_variant_has_not_been_found( |
|
69 | 69 | RepositoryInterface $productRepository, |
70 | 70 | RepositoryInterface $productVariantRepository, |
71 | 71 | ProductInterface $product |