Skip to content

Commit 588db43

Browse files
committed
Restore src/Type/Accessory/HasOffsetType.php
1 parent 730f960 commit 588db43

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Type/Accessory/HasOffsetType.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ public function isScalar(): TrinaryLogic
274274

275275
public function looseCompare(Type $type, PhpVersion $phpVersion): BooleanType
276276
{
277-
return $type->isOffsetAccessible()
278-
->and($type->hasOffsetValueType($this->offsetType))->toBooleanType();
277+
return new BooleanType();
279278
}
280279

281280
public function getKeysArray(): Type

0 commit comments

Comments
 (0)