@@ -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 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | { |
95 | 95 | $question = new Question('<question>Choose record.</question> (#id): '); |
96 | 96 | |
97 | - $question->setValidator(function ($id) { |
|
97 | + $question->setValidator(function($id) { |
|
98 | 98 | try { |
99 | 99 | return $this->sectionHistoryManager->read(Id::fromInt((int) $id)); |
100 | 100 | } catch (SectionHistoryNotFoundException $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 | |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | private function getFieldType(InputInterface $input, OutputInterface $output): FieldType |
103 | 103 | { |
104 | 104 | $question = new Question('<question>What record do you want to delete?</question> (#id): '); |
105 | - $question->setValidator(function ($id) { |
|
105 | + $question->setValidator(function($id) { |
|
106 | 106 | try { |
107 | 107 | return $this->fieldTypeManager->read(Id::fromInt((int) $id)); |
108 | 108 | } catch (FieldTypeNotFoundException $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 | |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | private function getField(InputInterface $input, OutputInterface $output): Field |
81 | 81 | { |
82 | 82 | $question = new Question('<question>What record do you want to update?</question> (#id): '); |
83 | - $question->setValidator(function ($id) { |
|
83 | + $question->setValidator(function($id) { |
|
84 | 84 | try { |
85 | 85 | return $this->fieldManager->read(Id::fromInt((int) $id)); |
86 | 86 | } catch (FieldNotFoundException $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 | |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | private function getField(InputInterface $input, OutputInterface $output): ?Field |
87 | 87 | { |
88 | 88 | $question = new Question('<question>What record do you want to delete?</question> (#id): '); |
89 | - $question->setValidator(function ($id) { |
|
89 | + $question->setValidator(function($id) { |
|
90 | 90 | try { |
91 | 91 | return $this->fieldManager->read(Id::fromInt((int) $id)); |
92 | 92 | } catch (FieldNotFoundException $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 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | private function getApplicationRecord(InputInterface $input, OutputInterface $output): ?ApplicationInterface |
69 | 69 | { |
70 | 70 | $question = new Question('<question>What record do you want to delete?</question> (#id): '); |
71 | - $question->setValidator(function ($id) { |
|
71 | + $question->setValidator(function($id) { |
|
72 | 72 | try { |
73 | 73 | return $this->applicationManager->read(Id::fromInt((int) $id)); |
74 | 74 | } catch (ApplicationNotFoundException $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 | |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | private function getFieldType(InputInterface $input, OutputInterface $output): FieldType |
72 | 72 | { |
73 | 73 | $question = new Question('<question>What record do you want to update?</question> (#id): '); |
74 | - $question->setValidator(function ($id) { |
|
74 | + $question->setValidator(function($id) { |
|
75 | 75 | try { |
76 | 76 | return $this->fieldTypeManager->read(Id::fromInt((int) $id)); |
77 | 77 | } catch (FieldTypeNotFoundException $exception) { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $fieldType->getFullyQualifiedClassName() . |
97 | 97 | '): ' |
98 | 98 | ); |
99 | - $updateQuestion->setValidator(function ($fullyQualifiedClassName) { |
|
99 | + $updateQuestion->setValidator(function($fullyQualifiedClassName) { |
|
100 | 100 | return FullyQualifiedClassName::fromString($fullyQualifiedClassName); |
101 | 101 | }); |
102 | 102 |
@@ -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\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 Tardigrades\Entity; |
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\Helper; |
15 | 15 |