@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace X509\Certificate\Extension\PolicyMappings; |
| 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 X509\Certificate\Extension\Target; |
| 6 | 6 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | public static function fromASN1(Sequence $seq) |
| 41 | 41 | { |
| 42 | 42 | $targets = array_map( |
| 43 | - function (UnspecifiedType $el) { |
|
| 43 | + function(UnspecifiedType $el) { |
|
| 44 | 44 | return Target::fromASN1($el->asTagged()); |
| 45 | 45 | }, $seq->elements()); |
| 46 | 46 | return new self(...$targets); |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | { |
| 67 | 67 | return array_values( |
| 68 | 68 | array_filter($this->_targets, |
| 69 | - function (Target $target) use ($type) { |
|
| 69 | + function(Target $target) use ($type) { |
|
| 70 | 70 | return $target->type() == $type; |
| 71 | 71 | })); |
| 72 | 72 | } |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | public function toASN1() |
| 116 | 116 | { |
| 117 | 117 | $elements = array_map( |
| 118 | - function (Target $target) { |
|
| 118 | + function(Target $target) { |
|
| 119 | 119 | return $target->toASN1(); |
| 120 | 120 | }, $this->_targets); |
| 121 | 121 | 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 X509\Certificate\Extension\Target; |
| 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 X509\Certificate\Extension\Target; |
| 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 X509\Certificate\Extension\Target; |
| 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 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 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 X509\Certificate\Extension; |
| 6 | 6 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | protected static function _fromDER($data, $critical) |
| 41 | 41 | { |
| 42 | 42 | $attribs = array_map( |
| 43 | - function (UnspecifiedType $el) { |
|
| 43 | + function(UnspecifiedType $el) { |
|
| 44 | 44 | return Attribute::fromASN1($el->asSequence()); |
| 45 | 45 | }, Sequence::fromDER($data)->elements()); |
| 46 | 46 | if (!count($attribs)) { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | throw new \LogicException("No attributes"); |
| 62 | 62 | } |
| 63 | 63 | $elements = array_map( |
| 64 | - function (Attribute $attr) { |
|
| 64 | + function(Attribute $attr) { |
|
| 65 | 65 | return $attr->toASN1(); |
| 66 | 66 | }, array_values($this->_attributes)); |
| 67 | 67 | 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 X509\Certificate\Extension\DistributionPoint; |
| 6 | 6 | |