@@ -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 Tardigrades\SectionField\ValueObject; |
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 Tardigrades\SectionField\Generator; |
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 Tardigrades\SectionField\Generator\Loader; |
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 Tardigrades\SectionField\Generator\Writer; |
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 Tardigrades\SectionField\Event; |
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 Tardigrades\SectionField\Service; |
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 Tardigrades\Command; |
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 Tardigrades\Command; |
15 | 15 | |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | private function getLanguageRecord(InputInterface $input, OutputInterface $output): ?LanguageInterface |
65 | 65 | { |
66 | 66 | $question = new Question('<question>What record do you want to delete?</question> (#id): '); |
67 | - $question->setValidator(function ($id) { |
|
67 | + $question->setValidator(function($id) { |
|
68 | 68 | try { |
69 | 69 | return $this->languageManager->read(Id::fromInt((int) $id)); |
70 | 70 | } catch (LanguageNotFoundException $exception) { |
@@ -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 Tardigrades\Command; |
15 | 15 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | private function getApplicationRecord(InputInterface $input, OutputInterface $output): ApplicationInterface |
74 | 74 | { |
75 | 75 | $question = new Question('<question>What record do you want to update?</question> (#id): '); |
76 | - $question->setValidator(function ($id) { |
|
76 | + $question->setValidator(function($id) { |
|
77 | 77 | try { |
78 | 78 | return $this->applicationManager->read(Id::fromInt((int) $id)); |
79 | 79 | } catch (ApplicationNotFoundException $exception) { |