Skip to content

Commit 2331102

Browse files
committed
Revert "Update AccessoryArrayListType.php"
This reverts commit 298433c.
1 parent 298433c commit 2331102

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Type/Accessory/AccessoryArrayListType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function setOffsetValueType(?Type $offsetType, Type $valueType, bool $uni
162162

163163
public function setExistingOffsetValueType(Type $offsetType, Type $valueType): Type
164164
{
165-
if ($this->getIterableKeyType()->isSuperTypeOf($offsetType)->no()) {
165+
if ($this->hasOffsetValueType($offsetType)->no()) {
166166
return new ErrorType();
167167
}
168168

0 commit comments

Comments
 (0)