mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix isMock check
This commit is contained in:
parent
d2243c3317
commit
c82a3a00a9
@ -2319,7 +2319,7 @@ class StatementsChecker
|
||||
$absolute_classes = explode('|', $return_type);
|
||||
|
||||
if (self::_isMock($return_type)) {
|
||||
continue;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!is_a($return_type, $expected_type, true) && !is_a($return_type, $return_type, true)) {
|
||||
|
Loading…
Reference in New Issue
Block a user