fix: ArrayObject::offsetGet should return null
This commit is contained in:
parent
a2f04e115c
commit
9ffbeb6aa8
|
@ -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 {}
|
||||
|
|
Loading…
Reference in New Issue