@@ -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\ASN1\Type\Constructed; |
| 6 | 6 | |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | { |
| 35 | 35 | $obj = clone $this; |
| 36 | 36 | usort($obj->_elements, |
| 37 | - function (Element $a, Element $b) { |
|
| 37 | + function(Element $a, Element $b) { |
|
| 38 | 38 | if ($a->typeClass() !== $b->typeClass()) { |
| 39 | 39 | return $a->typeClass() < $b->typeClass() ? -1 : 1; |
| 40 | 40 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | { |
| 58 | 58 | $obj = clone $this; |
| 59 | 59 | usort($obj->_elements, |
| 60 | - function (Element $a, Element $b) { |
|
| 60 | + function(Element $a, Element $b) { |
|
| 61 | 61 | $a_der = $a->toDER(); |
| 62 | 62 | $b_der = $b->toDER(); |
| 63 | 63 | return strcmp($a_der, $b_der); |
@@ -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\ASN1\Type\Constructed; |
| 6 | 6 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | */ |
| 100 | 100 | public function strings(): array |
| 101 | 101 | { |
| 102 | - return array_map(function (StringType $el) { |
|
| 102 | + return array_map(function(StringType $el) { |
|
| 103 | 103 | return $el->string(); |
| 104 | 104 | }, $this->_elements); |
| 105 | 105 | } |