@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * |
| 59 | 59 | * @var array |
| 60 | 60 | */ |
| 61 | - const MAP_TAG_TO_CLASS = [ /* @formatter:off */ |
|
| 61 | + const MAP_TAG_TO_CLASS = [/* @formatter:off */ |
|
| 62 | 62 | self::TYPE_BOOLEAN => Primitive\Boolean::class, |
| 63 | 63 | self::TYPE_INTEGER => Primitive\Integer::class, |
| 64 | 64 | self::TYPE_BIT_STRING => Primitive\BitString::class, |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * |
| 114 | 114 | * @var array |
| 115 | 115 | */ |
| 116 | - const MAP_TYPE_TO_NAME = [ /* @formatter:off */ |
|
| 116 | + const MAP_TYPE_TO_NAME = [/* @formatter:off */ |
|
| 117 | 117 | self::TYPE_EOC => "EOC", |
| 118 | 118 | self::TYPE_BOOLEAN => "BOOLEAN", |
| 119 | 119 | self::TYPE_INTEGER => "INTEGER", |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | * @return self |
| 190 | 190 | */ |
| 191 | 191 | protected static function _decodeFromDER(Identifier $identifier, string $data, |
| 192 | - int &$offset): ElementBase |
|
| 192 | + int & $offset): ElementBase |
|
| 193 | 193 | { |
| 194 | 194 | throw new \BadMethodCallException( |
| 195 | 195 | __METHOD__ . " must be implemented in derived class."); |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * type, but decoding yields another type |
| 209 | 209 | * @return ElementBase |
| 210 | 210 | */ |
| 211 | - public static function fromDER(string $data, int &$offset = null): ElementBase |
|
| 211 | + public static function fromDER(string $data, int & $offset = null): ElementBase |
|
| 212 | 212 | { |
| 213 | 213 | // decode identifier |
| 214 | 214 | $idx = $offset ? $offset : 0; |