BaseType > minor refactoring

This commit is contained in:
Meritoo
2018-08-26 16:39:45 +02:00
parent 51ff110101
commit 35b70f53e7
2 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ abstract class UnknownTypeException extends Exception
/** /**
* Creates exception * Creates exception
* *
* @param string|int $unknownType The unknown type of something (value of constant) * @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 BaseType $typeInstance An instance of class that contains type of the something
* @param string $typeName Name of the something * @param string $typeName Name of the something
* @return UnknownTypeException * @return UnknownTypeException

View File

@@ -43,7 +43,7 @@ abstract class BaseType
/** /**
* Returns information if given type is correct * Returns information if given type is correct
* *
* @param string $type The type to check * @param mixed $type The type to check
* @return bool * @return bool
*/ */
public function isCorrectType($type) public function isCorrectType($type)