@@ -38,8 +38,12 @@ |
||
38 | 38 | /** |
39 | 39 | * @param string $name |
40 | 40 | * @param int $position |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function setPosition($name, $position); |
43 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
44 | 48 | public function savePositions(); |
45 | 49 | } |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | /** |
174 | 174 | * @param $name |
175 | 175 | * |
176 | - * @return mixed|string|null |
|
176 | + * @return string |
|
177 | 177 | */ |
178 | 178 | public function getRedirectRoute($name) |
179 | 179 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | } |
234 | 234 | |
235 | 235 | /** |
236 | - * @param object|null $resource |
|
236 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
237 | 237 | * |
238 | 238 | * @return array |
239 | 239 | */ |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | } |
377 | 377 | |
378 | 378 | /** |
379 | - * @param $parameter |
|
379 | + * @param string $parameter |
|
380 | 380 | * @param array $defaults |
381 | 381 | * |
382 | 382 | * @return array |
@@ -480,7 +480,7 @@ discard block |
||
480 | 480 | } |
481 | 481 | |
482 | 482 | /** |
483 | - * @return mixed|null |
|
483 | + * @return string |
|
484 | 484 | */ |
485 | 485 | public function getSerializationVersion() |
486 | 486 | { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /* |
5 | 5 | * This file is part of the Sylius package. |
6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace spec\Sylius\Bundle\PayumBundle\Factory; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace AppBundle\DependencyInjection; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\Bundle\ShopBundle\Router; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /* |
5 | 5 | * This file is part of the Sylius package. |
6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /* |
5 | 5 | * This file is part of the Sylius package. |
6 | 6 | * |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | /* |
5 | 5 | * This file is part of the Sylius package. |
6 | 6 | * |