Skip to content

Commit c99059c

Browse files
committed
ArrayHash::offsetGet() added return type
1 parent b8334e6 commit c99059c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Utils/ArrayHash.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ public function offsetSet($key, $value): void
7979
* @param array-key $key
8080
* @return T
8181
*/
82-
#[\ReturnTypeWillChange]
83-
public function offsetGet($key)
82+
public function offsetGet($key): mixed
8483
{
8584
return $this->$key;
8685
}

0 commit comments

Comments
 (0)