@@ -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 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | if (0 === strpos($parameter, '!!')) { |
| 82 | 82 | $parameter = explode(' ', $parameter); |
| 83 | 83 | |
| 84 | - $parser = trim($parameter[0], '!').'val'; |
|
| 84 | + $parser = trim($parameter[0], '!') . 'val'; |
|
| 85 | 85 | |
| 86 | 86 | Assert::oneOf($parser, ['intval', 'floatval', 'doubleval'], 'Variable can be parsed only to int, float or double.'); |
| 87 | 87 | |
@@ -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\Component\Grid\Definition; |
| 15 | 15 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | /** |
| 153 | 153 | * @param string|null $sortable |
| 154 | 154 | */ |
| 155 | - public function setSortable(?string $sortable): void |
|
| 155 | + public function setSortable(?string $sortable) : void |
|
| 156 | 156 | { |
| 157 | 157 | $this->sortable = $sortable; |
| 158 | 158 | } |
@@ -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\Component\Promotion\Generator; |
| 15 | 15 | |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * @param int|null $amount |
| 28 | 28 | */ |
| 29 | - public function setAmount(?int $amount): void; |
|
| 29 | + public function setAmount(?int $amount) : void; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @return int|null |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * @param int|null $codeLength |
| 38 | 38 | */ |
| 39 | - public function setCodeLength(?int $codeLength): void; |
|
| 39 | + public function setCodeLength(?int $codeLength) : void; |
|
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @return \DateTimeInterface|null |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | /** |
| 47 | 47 | * @param \DateTimeInterface $expiresAt |
| 48 | 48 | */ |
| 49 | - public function setExpiresAt(?\DateTimeInterface $expiresAt): void; |
|
| 49 | + public function setExpiresAt(?\DateTimeInterface $expiresAt) : void; |
|
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @return int|null |
@@ -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\Component\Promotion\Generator; |
| 15 | 15 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * {@inheritdoc} |
| 51 | 51 | */ |
| 52 | - public function setAmount(?int $amount): void |
|
| 52 | + public function setAmount(?int $amount) : void |
|
| 53 | 53 | { |
| 54 | 54 | $this->amount = $amount; |
| 55 | 55 | } |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * {@inheritdoc} |
| 67 | 67 | */ |
| 68 | - public function setCodeLength(?int $codeLength): void |
|
| 68 | + public function setCodeLength(?int $codeLength) : void |
|
| 69 | 69 | { |
| 70 | 70 | $this->codeLength = $codeLength; |
| 71 | 71 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * {@inheritdoc} |
| 83 | 83 | */ |
| 84 | - public function setExpiresAt(?\DateTimeInterface $expiresAt): void |
|
| 84 | + public function setExpiresAt(?\DateTimeInterface $expiresAt) : void |
|
| 85 | 85 | { |
| 86 | 86 | $this->expiresAt = $expiresAt; |
| 87 | 87 | } |