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:
parent
02dde911ce
commit
bee14d184f
@ -1579,7 +1579,7 @@ class CallChecker
|
||||
new TArray(
|
||||
[
|
||||
Type::getInt(),
|
||||
$arg->value->inferredType
|
||||
isset($arg->value->inferredType)
|
||||
? clone $arg->value->inferredType
|
||||
: Type::getMixed(),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user