Skip to content

Commit b903d9a

Browse files
committed
Update TypeSpecifier.php
1 parent a4e0e29 commit b903d9a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Analyser/TypeSpecifier.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,7 @@ public function specifyTypesInCondition(
10901090
);
10911091
}
10921092

1093+
// should be getType(), but we workaround a generics bug
10931094
if ($scope->getNativeType($var->var)->isArray()->yes()) {
10941095
$types = $types->unionWith(
10951096
$this->create(

0 commit comments

Comments
 (0)