@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | protected static function _fromDER(string $data, bool $critical): self |
| 46 | 46 | { |
| 47 | 47 | $access = array_map( |
| 48 | - function (UnspecifiedType $el) { |
|
| 48 | + function(UnspecifiedType $el) { |
|
| 49 | 49 | return SubjectAccessDescription::fromASN1($el->asSequence()); |
| 50 | 50 | }, UnspecifiedType::fromDER($data)->asSequence()->elements()); |
| 51 | 51 | return new self($critical, ...$access); |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | protected function _valueASN1(): Sequence |
| 70 | 70 | { |
| 71 | 71 | $elements = array_map( |
| 72 | - function (AccessDescription $access) { |
|
| 72 | + function(AccessDescription $access) { |
|
| 73 | 73 | return $access->toASN1(); |
| 74 | 74 | }, $this->_accessDescriptions); |
| 75 | 75 | return new Sequence(...$elements); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | protected static function _fromDER(string $data, bool $critical): self |
| 46 | 46 | { |
| 47 | 47 | $access = array_map( |
| 48 | - function (UnspecifiedType $el) { |
|
| 48 | + function(UnspecifiedType $el) { |
|
| 49 | 49 | return AuthorityAccessDescription::fromASN1($el->asSequence()); |
| 50 | 50 | }, UnspecifiedType::fromDER($data)->asSequence()->elements()); |
| 51 | 51 | return new self($critical, ...$access); |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | protected function _valueASN1(): Sequence |
| 70 | 70 | { |
| 71 | 71 | $elements = array_map( |
| 72 | - function (AccessDescription $access) { |
|
| 72 | + function(AccessDescription $access) { |
|
| 73 | 73 | return $access->toASN1(); |
| 74 | 74 | }, $this->_accessDescriptions); |
| 75 | 75 | return new Sequence(...$elements); |