@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Console; |
24 | 24 |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Console; |
24 | 24 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | Helper\QuestionFactory::createQuestion($descs['id']), |
123 | 123 | new Validator\ValidatorCollection( |
124 | 124 | new Validator\IdValidator, |
125 | - new Validator\CallbackValidator(function (string $value) use (&$id) { |
|
125 | + new Validator\CallbackValidator(function(string $value) use (&$id) { |
|
126 | 126 | $id = $this->idFactory->createId($value); |
127 | 127 | }) |
128 | 128 | ) |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | ), |
149 | 149 | new Validator\ValidatorCollection( |
150 | 150 | new Validator\AccountValidator, |
151 | - new Validator\CallbackValidator(function (string $value) use (&$account) { |
|
151 | + new Validator\CallbackValidator(function(string $value) use (&$account) { |
|
152 | 152 | $account = $this->accountFactory->createAccount($value); |
153 | 153 | }) |
154 | 154 | ) |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** @var array */ |
241 | 241 | $attrValues = $input->getOption('attr-value'); |
242 | 242 | |
243 | - for ($count = 0;; $count++) { |
|
243 | + for ($count = 0; ; $count++) { |
|
244 | 244 | $attrKey = $inputReader->readInput( |
245 | 245 | '', |
246 | 246 | Helper\QuestionFactory::createQuestion('Add an attribute (empty to skip)', $attrKeys[$count] ?? ''), |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Console; |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Console; |
24 | 24 |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Console; |
24 | 24 | |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** @var array */ |
216 | 216 | $attrValues = $input->getOption('attr-value'); |
217 | 217 | |
218 | - for ($count = 0;; $count++) { |
|
218 | + for ($count = 0; ; $count++) { |
|
219 | 219 | $attrKey = $inputReader->readInput( |
220 | 220 | '', |
221 | 221 | Helper\QuestionFactory::createQuestion('Add an attribute (empty to skip)', $attrKeys[$count] ?? ''), |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Console; |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Event; |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Event; |
24 | 24 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * Copyright 2016-19 Hannes Forsgård |
19 | 19 | */ |
20 | 20 | |
21 | -declare(strict_types = 1); |
|
21 | +declare(strict_types=1); |
|
22 | 22 | |
23 | 23 | namespace byrokrat\giroapp\Event; |
24 | 24 |