diff --git a/src/Exception/Base/UnknownTypeException.php b/src/Exception/Base/UnknownTypeException.php index ea860ca..8377059 100644 --- a/src/Exception/Base/UnknownTypeException.php +++ b/src/Exception/Base/UnknownTypeException.php @@ -23,9 +23,9 @@ abstract class UnknownTypeException extends Exception /** * Creates exception * - * @param string|int $unknownType The unknown type of something (value of constant) - * @param BaseType $typeInstance An instance of class that contains type of the something - * @param string $typeName Name of the something + * @param mixed $unknownType The unknown type of something (value of constant) + * @param BaseType $typeInstance An instance of class that contains type of the something + * @param string $typeName Name of the something * @return UnknownTypeException */ public static function create($unknownType, BaseType $typeInstance, $typeName) diff --git a/src/Type/Base/BaseType.php b/src/Type/Base/BaseType.php index 73ec524..ec8dafa 100644 --- a/src/Type/Base/BaseType.php +++ b/src/Type/Base/BaseType.php @@ -43,7 +43,7 @@ abstract class BaseType /** * Returns information if given type is correct * - * @param string $type The type to check + * @param mixed $type The type to check * @return bool */ public function isCorrectType($type)