@@ -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\Db\Json; |
| 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\Db\Json; |
| 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\Db\Json; |
| 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\Db; |
| 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\Validator; |
| 24 | 24 | |
@@ -30,9 +30,9 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | protected function getRule(): Rule |
| 32 | 32 | { |
| 33 | - return (new Rule)->msg('must be a numerical postal code')->pre(function (string $val) { |
|
| 33 | + return (new Rule)->msg('must be a numerical postal code')->pre(function(string $val) { |
|
| 34 | 34 | return str_replace([' ', "\n", "\r", "\t"], '', $val); |
| 35 | - })->match(function (string $val) { |
|
| 35 | + })->match(function(string $val) { |
|
| 36 | 36 | return empty($val) || ctype_digit($val); |
| 37 | 37 | }); |
| 38 | 38 | } |
@@ -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\Db\Json; |
| 24 | 24 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | public function findAll(): DonorCollection |
| 62 | 62 | { |
| 63 | - return new DonorCollection(function () { |
|
| 63 | + return new DonorCollection(function() { |
|
| 64 | 64 | foreach ($this->collection as $doc) { |
| 65 | 65 | yield $this->createDonor($doc); |
| 66 | 66 | } |
@@ -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\Db; |
| 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\Console; |
| 24 | 24 | |