Skip to content

Commit 3771463

Browse files
committed
fix(view): correct ArrayAccess::offsetExists in TokenCollection
1 parent 974e7bf commit 3771463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/view/src/Parser/TokenCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __debugInfo(): array
4040

4141
public function offsetExists(mixed $offset): bool
4242
{
43-
return $this->tokens[$offset] ?? false;
43+
return isset($this->tokens[$offset]);
4444
}
4545

4646
public function offsetGet(mixed $offset): mixed

0 commit comments

Comments
 (0)