mirror of
https://github.com/danog/psalm.git
synced 2024-12-12 01:09:38 +01:00
Fix silly bug
This commit is contained in:
parent
ba2c2bdaa2
commit
f8a959c079
@ -443,8 +443,8 @@ class MethodCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
|
|||||||
if ($storage->if_this_is_type
|
if ($storage->if_this_is_type
|
||||||
&& !UnionTypeComparator::isContainedBy(
|
&& !UnionTypeComparator::isContainedBy(
|
||||||
$codebase,
|
$codebase,
|
||||||
$storage->if_this_is_type,
|
$class_type,
|
||||||
$class_type
|
$storage->if_this_is_type
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
if (IssueBuffer::accepts(
|
if (IssueBuffer::accepts(
|
||||||
|
Loading…
Reference in New Issue
Block a user