@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\DependencyInjection\Extension; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Routing; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ORM; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Controller; |
15 | 15 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * {@inheritdoc} |
63 | 63 | */ |
64 | - public function redirectToIndex(RequestConfiguration $configuration, ?ResourceInterface $resource = null): Response |
|
64 | + public function redirectToIndex(RequestConfiguration $configuration, ?ResourceInterface $resource = null) : Response |
|
65 | 65 | { |
66 | 66 | return $this->redirectToRoute( |
67 | 67 | $configuration, |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Controller; |
15 | 15 |
@@ -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 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\InventoryBundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace spec\Sylius\Bundle\GridBundle\Doctrine\PHPCRODM; |
15 | 15 |