@@ -75,7 +75,7 @@ public function __invoke() {
7575 * @return bool True if the key exists, false otherwise.
7676 */
7777 #[ReturnTypeWillChange]
78- public function offsetExists ( mixed $ k ) {
78+ public function offsetExists ( $ k ) {
7979 $ this ->__invoke ();
8080 return isset ( $ this ->resolved [ $ k ] );
8181 }
@@ -89,7 +89,7 @@ public function offsetExists( mixed $k ) {
8989 * @return mixed The value of the key, or null if not set. Returns by reference, so it can be modified if needed.
9090 */
9191 #[ReturnTypeWillChange]
92- public function &offsetGet ( mixed $ k ) {
92+ public function &offsetGet ( $ k ) {
9393 $ this ->__invoke ();
9494 return $ this ->resolved [ $ k ];
9595 }
@@ -103,7 +103,7 @@ public function &offsetGet( mixed $k ) {
103103 * @param mixed $value The value to set.
104104 */
105105 #[ReturnTypeWillChange]
106- public function offsetSet ( mixed $ k , mixed $ v ) {
106+ public function offsetSet ( $ k , $ v ) {
107107 $ this ->__invoke ();
108108 $ this ->resolved [ $ k ] = $ v ;
109109 }
@@ -116,7 +116,7 @@ public function offsetSet( mixed $k, mixed $v ) {
116116 * @param string $key The key to unset.
117117 */
118118 #[ReturnTypeWillChange]
119- public function offsetUnset ( mixed $ k ) {
119+ public function offsetUnset ( $ k ) {
120120 $ this ->__invoke ();
121121 unset( $ this ->resolved [ $ k ] );
122122 }
0 commit comments