fix: ArrayObject::offsetGet should return null

This commit is contained in:
Kristofer Karlsson 2024-02-23 15:01:58 +01:00 committed by Gleb Sieemshchikov
parent a2f04e115c
commit 9ffbeb6aa8
1 changed files with 1 additions and 1 deletions

View File

@ -1572,7 +1572,7 @@ class ArrayObject implements IteratorAggregate, ArrayAccess, Serializable, Count
* @param TKey $key <p>
* The index with the value.
* </p>
* @return TValue|false The value at the specified index or false.
* @return TValue|null The value at the specified index or null.
*/
#[TentativeType]
public function offsetGet(#[LanguageLevelTypeAware(['8.0' => 'mixed'], default: '')] $key): mixed {}