@@ -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\Resource\Model; |
15 | 15 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * |
62 | 62 | * @return TranslationInterface |
63 | 63 | */ |
64 | - public function getTranslation(?string $locale = null): TranslationInterface |
|
64 | + public function getTranslation(?string $locale = null) : TranslationInterface |
|
65 | 65 | { |
66 | 66 | $locale = $locale ?: $this->currentLocale; |
67 | 67 | if (null === $locale) { |
@@ -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\Resource\Model; |
15 | 15 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * @param bool $enabled |
36 | 36 | */ |
37 | - public function setEnabled(?bool $enabled): void |
|
37 | + public function setEnabled(?bool $enabled) : void |
|
38 | 38 | { |
39 | 39 | $this->enabled = (bool) $enabled; |
40 | 40 | } |
@@ -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\Resource\Model; |
15 | 15 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * @param \DateTimeInterface|null $createdAt |
41 | 41 | */ |
42 | - public function setCreatedAt(?\DateTimeInterface $createdAt): void |
|
42 | + public function setCreatedAt(?\DateTimeInterface $createdAt) : void |
|
43 | 43 | { |
44 | 44 | $this->createdAt = $createdAt; |
45 | 45 | } |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * @param \DateTimeInterface|null $updatedAt |
57 | 57 | */ |
58 | - public function setUpdatedAt(?\DateTimeInterface $updatedAt): void |
|
58 | + public function setUpdatedAt(?\DateTimeInterface $updatedAt) : void |
|
59 | 59 | { |
60 | 60 | $this->updatedAt = $updatedAt; |
61 | 61 | } |
@@ -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\Resource\Metadata; |
15 | 15 | |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function getAlias(): string |
81 | 81 | { |
82 | - return $this->applicationName.'.'.$this->name; |
|
82 | + return $this->applicationName . '.' . $this->name; |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |