@@ -30,8 +30,12 @@ |
||
| 30 | 30 | /** |
| 31 | 31 | * @param string $productName |
| 32 | 32 | * @param int $position |
| 33 | + * @return void |
|
| 33 | 34 | */ |
| 34 | 35 | public function setPositionOfProduct($productName, $position); |
| 35 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 36 | 40 | public function savePositions(); |
| 37 | 41 | } |
@@ -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 | { |
@@ -24,6 +24,7 @@ |
||
| 24 | 24 | * @param array $data |
| 25 | 25 | * @param array $attachments |
| 26 | 26 | * @param array $replyTo |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function send(string $code, array $recipients, array $data = [], array $attachments = [], array $replyTo = []): void; |
| 29 | 30 | } |
@@ -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 | * This file is part of the Sylius package. |
| 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 | * This file is part of the Sylius package. |
| 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 | * This file is part of the Sylius package. |
| 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 | * This file is part of the Sylius package. |
| 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 | * This file is part of the Sylius package. |
| 15 | 15 | * |