1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add better check for property

This commit is contained in:
Matthew Brown 2017-10-28 15:17:32 -04:00
parent 02dde911ce
commit bee14d184f

View File

@ -1579,7 +1579,7 @@ class CallChecker
new TArray(
[
Type::getInt(),
$arg->value->inferredType
isset($arg->value->inferredType)
? clone $arg->value->inferredType
: Type::getMixed(),
]