mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
cs
This commit is contained in:
parent
e19589117d
commit
c2a8d1bb06
@ -783,7 +783,8 @@ class CallAnalyzer
|
||||
if ($intersection === null) {
|
||||
IssueBuffer::maybeAdd(
|
||||
new TypeDoesNotContainType(
|
||||
$asserted_type->getId() . ' is not contained by ' . $assertion_type->getId(),
|
||||
$asserted_type->getId() . ' is not contained by '
|
||||
. $assertion_type->getId(),
|
||||
new CodeLocation($statements_analyzer->getSource(), $expr),
|
||||
$asserted_type->getId() . ' ' . $assertion_type->getId()
|
||||
),
|
||||
@ -812,7 +813,8 @@ class CallAnalyzer
|
||||
)) {
|
||||
IssueBuffer::maybeAdd(
|
||||
new TypeDoesNotContainType(
|
||||
$asserted_type->getId() . ' is not contained by ' . $assertion_type->getId(),
|
||||
$asserted_type->getId() . ' is not contained by '
|
||||
. $assertion_type->getId(),
|
||||
new CodeLocation($statements_analyzer->getSource(), $expr),
|
||||
$asserted_type->getId() . ' ' . $assertion_type->getId()
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user