mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Allow ArrayAccess::offsetGet to return null
This commit is contained in:
parent
bbf013bfb8
commit
27428b8743
@ -162,7 +162,8 @@ interface ArrayAccess {
|
||||
* @param TKey $offset <p>
|
||||
* The offset to retrieve.
|
||||
* </p>
|
||||
* @return TValue Can return all value types.
|
||||
* @return TValue|null Can return all value types.
|
||||
* @psalm-ignore-nullable-return
|
||||
* @since 5.0.0
|
||||
*/
|
||||
public function offsetGet($offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user