Skip to content

Commit e39c73b

Browse files
committed
Fix CI failures [claude-ci-fix]
Automated fix attempt 1 for CI failures.
1 parent ce6e5e2 commit e39c73b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Type/ArrayType.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,10 +411,10 @@ public function setExistingOffsetValueType(Type $offsetType, Type $valueType): T
411411
}
412412

413413
if (
414-
$this->itemType->isArray()->yes()
415-
&& $valueType->isArray()->yes()
416-
&& $this->itemType->getIterableValueType()->isConstantArray()->yes()
417-
&& $valueType->getIterableValueType()->isConstantArray()->yes()
414+
$this->itemType->getArrays() !== []
415+
&& $valueType->getArrays() !== []
416+
&& $this->itemType->getIterableValueType()->getConstantArrays() !== []
417+
&& $valueType->getIterableValueType()->getConstantArrays() !== []
418418
) {
419419
$newItemType = $this->itemType->setExistingOffsetValueType(
420420
$valueType->getIterableKeyType(),

0 commit comments

Comments
 (0)