@@ -22,12 +22,14 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * @param int $price |
24 | 24 | * @param string $channelName |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function specifyPrice($price, $channelName); |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param int $originalPrice |
30 | 31 | * @param string $channelName |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function specifyOriginalPrice($originalPrice, $channelName); |
33 | 35 | |
@@ -36,33 +38,39 @@ discard block |
||
36 | 38 | * @param int $width |
37 | 39 | * @param int $depth |
38 | 40 | * @param int $weight |
41 | + * @return void |
|
39 | 42 | */ |
40 | 43 | public function specifyHeightWidthDepthAndWeight($height, $width, $depth, $weight); |
41 | 44 | |
42 | 45 | /** |
43 | 46 | * @param string $code |
47 | + * @return void |
|
44 | 48 | */ |
45 | 49 | public function specifyCode($code); |
46 | 50 | |
47 | 51 | /** |
48 | 52 | * @param int $currentStock |
53 | + * @return void |
|
49 | 54 | */ |
50 | 55 | public function specifyCurrentStock($currentStock); |
51 | 56 | |
52 | 57 | /** |
53 | 58 | * @param string $name |
54 | 59 | * @param string $language |
60 | + * @return void |
|
55 | 61 | */ |
56 | 62 | public function nameItIn($name, $language); |
57 | 63 | |
58 | 64 | /** |
59 | 65 | * @param string $optionName |
60 | 66 | * @param string $optionValue |
67 | + * @return void |
|
61 | 68 | */ |
62 | 69 | public function selectOption($optionName, $optionValue); |
63 | 70 | |
64 | 71 | /** |
65 | 72 | * @param string $name |
73 | + * @return void |
|
66 | 74 | */ |
67 | 75 | public function choosePricingCalculator($name); |
68 | 76 | |
@@ -73,6 +81,7 @@ discard block |
||
73 | 81 | |
74 | 82 | /** |
75 | 83 | * @param string $shippingCategoryName |
84 | + * @return void |
|
76 | 85 | */ |
77 | 86 | public function selectShippingCategory($shippingCategoryName); |
78 | 87 | |
@@ -83,6 +92,7 @@ discard block |
||
83 | 92 | |
84 | 93 | /** |
85 | 94 | * @param bool $isShippingRequired |
95 | + * @return void |
|
86 | 96 | */ |
87 | 97 | public function setShippingRequired($isShippingRequired); |
88 | 98 | } |
@@ -240,7 +240,7 @@ |
||
240 | 240 | /** |
241 | 241 | * @param string $type |
242 | 242 | * |
243 | - * @return NodeElement |
|
243 | + * @return string |
|
244 | 244 | */ |
245 | 245 | private function getImageElementByType($type) |
246 | 246 | { |
@@ -428,6 +428,7 @@ discard block |
||
428 | 428 | |
429 | 429 | /** |
430 | 430 | * {@inheritdoc} |
431 | + * @param string $name |
|
431 | 432 | */ |
432 | 433 | protected function getElement($name, array $parameters = []) |
433 | 434 | { |
@@ -507,7 +508,7 @@ discard block |
||
507 | 508 | /** |
508 | 509 | * @param string $type |
509 | 510 | * |
510 | - * @return NodeElement |
|
511 | + * @return string |
|
511 | 512 | */ |
512 | 513 | private function getImageElementByType($type) |
513 | 514 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | /** |
134 | 134 | * @param string $name |
135 | 135 | * |
136 | - * @return NodeElement |
|
136 | + * @return string |
|
137 | 137 | */ |
138 | 138 | protected function getParameter($name) |
139 | 139 | { |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | } |
243 | 243 | |
244 | 244 | /** |
245 | - * @param string|array $selector |
|
245 | + * @param string $selector |
|
246 | 246 | * @param SelectorsHandler $selectorsHandler |
247 | 247 | * |
248 | 248 | * @return string |
@@ -299,7 +299,7 @@ |
||
299 | 299 | |
300 | 300 | /** |
301 | 301 | * @param string $attributeName |
302 | - * @param string|array $selector |
|
302 | + * @param string $selector |
|
303 | 303 | * |
304 | 304 | * @return bool |
305 | 305 | * |
@@ -18,9 +18,9 @@ |
||
18 | 18 | use Sylius\Bundle\CoreBundle\Remover\ReviewerReviewsRemoverInterface; |
19 | 19 | use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
20 | 20 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
21 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
21 | 22 | use Sylius\Component\Review\Model\ReviewableInterface; |
22 | 23 | use Sylius\Component\Review\Model\ReviewerInterface; |
23 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
24 | 24 | |
25 | 25 | final class ReviewerReviewsRemoverSpec extends ObjectBehavior |
26 | 26 | { |
@@ -143,7 +143,7 @@ |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | - * @param ObjectManager $objectManager |
|
146 | + * @param ObjectManager|null $objectManager |
|
147 | 147 | * @param object $entity |
148 | 148 | * @param string $enabledPropertyPath |
149 | 149 | * |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Doctrine\ORM\Event\LifecycleEventArgs; |
18 | 18 | use Doctrine\ORM\UnitOfWork; |
19 | 19 | use Mockery; |
20 | -use Mockery\Mock; |
|
21 | 20 | use Mockery\MockInterface; |
22 | 21 | use PhpSpec\ObjectBehavior; |
23 | 22 | use Sylius\Component\Attribute\AttributeType\SelectAttributeType; |
@@ -19,6 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * {@inheritdoc} |
22 | + * @param string $path |
|
22 | 23 | */ |
23 | 24 | public function get($path, $default = null) |
24 | 25 | { |