We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c829e53 commit a0a1139Copy full SHA for a0a1139
tests/Unit/Type/data/object-storage-stub-files.php
@@ -29,6 +29,7 @@ public function foo(): void
29
}
30
31
assertType(self::class . '|null', $objectStorage->offsetGet(0));
32
+ assertType(self::class . '|null', $objectStorage->offsetGet('0'));
33
assertType(self::class . '|null', $objectStorage->current());
34
35
// We ignore errors in the next line as this will produce an
0 commit comments