@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension\NameConstraints; |
| 6 | 6 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | public static function fromASN1(Sequence $seq): self |
| 43 | 43 | { |
| 44 | 44 | $subtrees = array_map( |
| 45 | - function (UnspecifiedType $el) { |
|
| 45 | + function(UnspecifiedType $el) { |
|
| 46 | 46 | return GeneralSubtree::fromASN1($el->asSequence()); |
| 47 | 47 | }, $seq->elements()); |
| 48 | 48 | if (!count($subtrees)) { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | throw new \LogicException('No subtrees.'); |
| 74 | 74 | } |
| 75 | 75 | $elements = array_map( |
| 76 | - function (GeneralSubtree $gs) { |
|
| 76 | + function(GeneralSubtree $gs) { |
|
| 77 | 77 | return $gs->toASN1(); |
| 78 | 78 | }, $this->_subtrees); |
| 79 | 79 | return new Sequence(...$elements); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension\AccessDescription; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension\AccessDescription; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension\AccessDescription; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension; |
| 6 | 6 | |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | protected static function _fromDER(string $data, bool $critical): Extension |
| 123 | 123 | { |
| 124 | 124 | $policies = array_map( |
| 125 | - function (UnspecifiedType $el) { |
|
| 125 | + function(UnspecifiedType $el) { |
|
| 126 | 126 | return PolicyInformation::fromASN1($el->asSequence()); |
| 127 | 127 | }, UnspecifiedType::fromDER($data)->asSequence()->elements()); |
| 128 | 128 | if (!count($policies)) { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | throw new \LogicException('No policies.'); |
| 142 | 142 | } |
| 143 | 143 | $elements = array_map( |
| 144 | - function (PolicyInformation $pi) { |
|
| 144 | + function(PolicyInformation $pi) { |
|
| 145 | 145 | return $pi->toASN1(); |
| 146 | 146 | }, array_values($this->_policies)); |
| 147 | 147 | return new Sequence(...$elements); |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Sop\X509\Certificate\Extension; |
| 6 | 6 | |