@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | * |
| 27 | 27 | * @var array |
| 28 | 28 | */ |
| 29 | - const MAP_CLASS_TO_NAME = [ /* @formatter:off */ |
|
| 29 | + const MAP_CLASS_TO_NAME = [/* @formatter:off */ |
|
| 30 | 30 | self::CLASS_UNIVERSAL => "UNIVERSAL", |
| 31 | 31 | self::CLASS_APPLICATION => "APPLICATION", |
| 32 | 32 | self::CLASS_CONTEXT_SPECIFIC => "CONTEXT SPECIFIC", |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | * @throws DecodeException If decoding fails |
| 85 | 85 | * @return self |
| 86 | 86 | */ |
| 87 | - public static function fromDER(string $data, int &$offset = null): Identifier |
|
| 87 | + public static function fromDER(string $data, int & $offset = null): Identifier |
|
| 88 | 88 | { |
| 89 | 89 | $idx = $offset ? $offset : 0; |
| 90 | 90 | $datalen = strlen($data); |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * @throws DecodeException If decoding fails |
| 118 | 118 | * @return string Tag number |
| 119 | 119 | */ |
| 120 | - private static function _decodeLongFormTag(string $data, int &$offset): string |
|
| 120 | + private static function _decodeLongFormTag(string $data, int & $offset): string |
|
| 121 | 121 | { |
| 122 | 122 | $datalen = strlen($data); |
| 123 | 123 | $tag = gmp_init(0, 10); |