@@ -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\Plugin; |
| 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\Filesystem; |
| 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\Filesystem; |
| 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\Filesystem; |
| 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\Config; |
| 24 | 24 | |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | public function getConfig(string $name): ConfigInterface |
| 47 | 47 | { |
| 48 | - return new LazyConfig(function () use ($name) { |
|
| 48 | + return new LazyConfig(function() use ($name) { |
|
| 49 | 49 | if (!isset($this->configs[$name])) { |
| 50 | 50 | throw new InvalidConfigException("Configuration for '$name' missing."); |
| 51 | 51 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | $value = preg_replace_callback( |
| 60 | 60 | '/%([^%]+)%/', |
| 61 | - function ($matches) { |
|
| 61 | + function($matches) { |
|
| 62 | 62 | return $this->getConfigValue($matches[1]); |
| 63 | 63 | }, |
| 64 | 64 | $value |
@@ -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\Config; |
| 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\DependencyInjection; |
| 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\DependencyInjection; |
| 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\Helper; |
| 24 | 24 | |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | $value = (string)$this->questionHelper->ask( |
| 71 | 71 | $this->input, |
| 72 | 72 | $this->output, |
| 73 | - $question->setValidator(function ($answer) use ($key, $validator) { |
|
| 73 | + $question->setValidator(function($answer) use ($key, $validator) { |
|
| 74 | 74 | return $validator->validate($key, (string)$answer); |
| 75 | 75 | }) |
| 76 | 76 | ); |