mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Don’t check classes after extension_loaded call
This commit is contained in:
parent
db7b80d391
commit
5d9ebd06d6
@ -88,6 +88,8 @@ class CallChecker
|
||||
} else {
|
||||
$context->check_classes = false;
|
||||
}
|
||||
} elseif ($method->parts === ['extension_loaded']) {
|
||||
$context->check_classes = false;
|
||||
} elseif ($method->parts === ['function_exists']) {
|
||||
$context->check_functions = false;
|
||||
} elseif ($method->parts === ['is_callable']) {
|
||||
|
@ -62,11 +62,6 @@ class FunctionLikeStorage
|
||||
*/
|
||||
public $variadic;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
public $returns_by_ref;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user