@@ -273,7 +273,7 @@ |
||
273 | 273 | /** |
274 | 274 | * Test that number is valid for this context. |
275 | 275 | * |
276 | - * @param mixed $num |
|
276 | + * @param string $num |
|
277 | 277 | * @return boolean |
278 | 278 | */ |
279 | 279 | private static function _validateNumber($num): bool |
@@ -332,10 +332,10 @@ |
||
332 | 332 | private function _isPseudoType($tag): bool |
333 | 333 | { |
334 | 334 | switch ($tag) { |
335 | - case self::TYPE_STRING: |
|
336 | - return $this instanceof StringType; |
|
337 | - case self::TYPE_TIME: |
|
338 | - return $this instanceof TimeType; |
|
335 | + case self::TYPE_STRING: |
|
336 | + return $this instanceof StringType; |
|
337 | + case self::TYPE_TIME: |
|
338 | + return $this instanceof TimeType; |
|
339 | 339 | } |
340 | 340 | return false; |
341 | 341 | } |