mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
fix missing is_a() parameter type
This commit is contained in:
parent
90d2b3cf5e
commit
3c837e5d9a
@ -1327,6 +1327,7 @@ function get_defined_constants(bool $categorize = false): array {}
|
||||
/**
|
||||
* @param mixed $object_or_class
|
||||
* @param class-string $class
|
||||
* @param bool $allow_string
|
||||
* @return ($allow_string is false ? ($object_or_class is object ? bool : false) : bool)
|
||||
*/
|
||||
function is_a($object_or_class, string $class, $allow_string = false): bool{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user