Skip to content

Commit f8a4f56

Browse files
committed
cs
1 parent 70caec0 commit f8a4f56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Type/ArrayType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,16 +374,16 @@ public function setExistingOffsetValueType(Type $offsetType, Type $valueType): T
374374
if ($this->itemType->isConstantArray()->yes() && $valueType->isConstantArray()->yes()) {
375375
$constArrays = $valueType->getConstantArrays();
376376
$newItemType = $this->itemType;
377-
foreach($constArrays as $constArray) {
378-
foreach($constArray->getKeyTypes() as $keyType) {
377+
foreach ($constArrays as $constArray) {
378+
foreach ($constArray->getKeyTypes() as $keyType) {
379379
$newItemType = $newItemType->setExistingOffsetValueType($keyType, $constArray->getOffsetValueType($keyType));
380380
}
381381
}
382382

383383
if ($newItemType !== $this->itemType) {
384384
return new self(
385385
$this->keyType,
386-
$newItemType
386+
$newItemType,
387387
);
388388
}
389389
}

0 commit comments

Comments
 (0)