@@ -347,10 +347,10 @@ discard block |
||
347 | 347 | private function _isPseudoType(int $tag): bool |
348 | 348 | { |
349 | 349 | switch ($tag) { |
350 | - case self::TYPE_STRING: |
|
351 | - return $this instanceof StringType; |
|
352 | - case self::TYPE_TIME: |
|
353 | - return $this instanceof TimeType; |
|
350 | + case self::TYPE_STRING: |
|
351 | + return $this instanceof StringType; |
|
352 | + case self::TYPE_TIME: |
|
353 | + return $this instanceof TimeType; |
|
354 | 354 | } |
355 | 355 | return false; |
356 | 356 | } |
@@ -437,14 +437,14 @@ discard block |
||
437 | 437 | protected static function _determineImplClass(Identifier $identifier): string |
438 | 438 | { |
439 | 439 | switch ($identifier->typeClass()) { |
440 | - case Identifier::CLASS_UNIVERSAL: |
|
441 | - return self::_determineUniversalImplClass($identifier->intTag()); |
|
442 | - case Identifier::CLASS_CONTEXT_SPECIFIC: |
|
443 | - return ContextSpecificType::class; |
|
444 | - case Identifier::CLASS_APPLICATION: |
|
445 | - return ApplicationType::class; |
|
446 | - case Identifier::CLASS_PRIVATE: |
|
447 | - return PrivateType::class; |
|
440 | + case Identifier::CLASS_UNIVERSAL: |
|
441 | + return self::_determineUniversalImplClass($identifier->intTag()); |
|
442 | + case Identifier::CLASS_CONTEXT_SPECIFIC: |
|
443 | + return ContextSpecificType::class; |
|
444 | + case Identifier::CLASS_APPLICATION: |
|
445 | + return ApplicationType::class; |
|
446 | + case Identifier::CLASS_PRIVATE: |
|
447 | + return PrivateType::class; |
|
448 | 448 | } |
449 | 449 | throw new \UnexpectedValueException( |
450 | 450 | sprintf("%s %d not implemented.", |