mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix property check
This commit is contained in:
parent
cbc889a498
commit
beea51d7bf
@ -315,7 +315,7 @@ class ExpressionChecker
|
||||
|
||||
$container_type = Type::getString();
|
||||
|
||||
if ($stmt->expr->inferredType
|
||||
if (isset($stmt->expr->inferredType)
|
||||
&& !$stmt->expr->inferredType->isMixed()
|
||||
&& !TypeChecker::isContainedBy(
|
||||
$statements_checker->getFileChecker()->project_checker,
|
||||
|
Loading…
x
Reference in New Issue
Block a user