mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
BaseType > minor refactoring
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user