Skip to content

Commit c54d9a8

Browse files
committed
Update TypeSpecifier.php
1 parent e8244d9 commit c54d9a8

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Analyser/TypeSpecifier.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,9 +749,7 @@ public function specifyTypesInCondition(
749749
$isNonEmpty = $arrayType->isIterableAtLeastOnce()->yes();
750750
}
751751

752-
if (
753-
$isNonEmpty
754-
) {
752+
if ($isNonEmpty) {
755753
$dimFetch = new ArrayDimFetch($arrayArg, $expr->var);
756754
$iterableValueType = $expr->expr->name->toLowerString() === 'array_key_first'
757755
? $arrayType->getIterableValueType()

0 commit comments

Comments
 (0)