@@ -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 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
157 | - * @param $name |
|
157 | + * @param string $name |
|
158 | 158 | * |
159 | 159 | * @return string |
160 | 160 | */ |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | /** |
169 | 169 | * @param string $name |
170 | 170 | * |
171 | - * @return mixed|string|null |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | public function getRedirectRoute($name) |
174 | 174 | { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | } |
229 | 229 | |
230 | 230 | /** |
231 | - * @param object|null $resource |
|
231 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
232 | 232 | * |
233 | 233 | * @return array |
234 | 234 | */ |