@@ -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 ASN1; |
6 | 6 | |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | * |
61 | 61 | * @var array |
62 | 62 | */ |
63 | - const MAP_TAG_TO_CLASS = [ /* @formatter:off */ |
|
63 | + const MAP_TAG_TO_CLASS = [/* @formatter:off */ |
|
64 | 64 | self::TYPE_BOOLEAN => Primitive\Boolean::class, |
65 | 65 | self::TYPE_INTEGER => Primitive\Integer::class, |
66 | 66 | self::TYPE_BIT_STRING => Primitive\BitString::class, |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * |
116 | 116 | * @var array |
117 | 117 | */ |
118 | - const MAP_TYPE_TO_NAME = [ /* @formatter:off */ |
|
118 | + const MAP_TYPE_TO_NAME = [/* @formatter:off */ |
|
119 | 119 | self::TYPE_EOC => "EOC", |
120 | 120 | self::TYPE_BOOLEAN => "BOOLEAN", |
121 | 121 | self::TYPE_INTEGER => "INTEGER", |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types = 1); |
|
2 | +declare(strict_types=1); |
|
3 | 3 | |
4 | 4 | namespace ASN1\Type; |
5 | 5 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | public function __construct(ElementBase ...$elements) |
48 | 48 | { |
49 | 49 | $this->_elements = array_map( |
50 | - function (ElementBase $el) { |
|
50 | + function(ElementBase $el) { |
|
51 | 51 | return $el->asElement(); |
52 | 52 | }, $elements); |
53 | 53 | } |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | { |
239 | 239 | if (!isset($this->_unspecifiedTypes)) { |
240 | 240 | $this->_unspecifiedTypes = array_map( |
241 | - function (Element $el) { |
|
241 | + function(Element $el) { |
|
242 | 242 | return new UnspecifiedType($el); |
243 | 243 | }, $this->_elements); |
244 | 244 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace ASN1\Type\Primitive; |
6 | 6 |