@@ -56,6 +56,7 @@ public function finalize()
56
56
* The return value will be casted to boolean if non-boolean was returned.
57
57
* @since 5.0.0
58
58
*/
59
+ #[\ReturnTypeWillChange]
59
60
public function offsetExists ($ offset )
60
61
{
61
62
return isset ($ this ->internal ()[$ offset ]);
@@ -70,6 +71,7 @@ public function offsetExists($offset)
70
71
* @return mixed Can return all value types.
71
72
* @since 5.0.0
72
73
*/
74
+ #[\ReturnTypeWillChange]
73
75
public function offsetGet ($ offset )
74
76
{
75
77
return $ this ->internal ()[$ offset ];
@@ -87,6 +89,7 @@ public function offsetGet($offset)
87
89
* @return void
88
90
* @since 5.0.0
89
91
*/
92
+ #[\ReturnTypeWillChange]
90
93
public function offsetSet ($ offset , $ value )
91
94
{
92
95
$ this ->internal ()[$ offset ] = $ value ;
@@ -101,6 +104,7 @@ public function offsetSet($offset, $value)
101
104
* @return void
102
105
* @since 5.0.0
103
106
*/
107
+ #[\ReturnTypeWillChange]
104
108
public function offsetUnset ($ offset )
105
109
{
106
110
unset($ this ->internal ()[$ offset ]);
@@ -113,6 +117,7 @@ public function offsetUnset($offset)
113
117
* <b>Traversable</b>
114
118
* @since 5.0.0
115
119
*/
120
+ #[\ReturnTypeWillChange]
116
121
public function getIterator ()
117
122
{
118
123
return new \ArrayObject ($ this ->internal ());
@@ -127,6 +132,7 @@ public function getIterator()
127
132
* The return value is cast to an integer.
128
133
* @since 5.1.0
129
134
*/
135
+ #[\ReturnTypeWillChange]
130
136
public function count ()
131
137
{
132
138
return count ($ this ->internal ());
0 commit comments