File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ public function getColumnOffset()
183
183
*
184
184
* @return string The current character.
185
185
*/
186
+ #[\ReturnTypeWillChange]
186
187
public function current ()
187
188
{
188
189
return $ this ->data [$ this ->char ];
@@ -192,6 +193,7 @@ public function current()
192
193
* Advance the pointer.
193
194
* This is part of the Iterator interface.
194
195
*/
196
+ #[\ReturnTypeWillChange]
195
197
public function next ()
196
198
{
197
199
++$ this ->char ;
@@ -200,6 +202,7 @@ public function next()
200
202
/**
201
203
* Rewind to the start of the string.
202
204
*/
205
+ #[\ReturnTypeWillChange]
203
206
public function rewind ()
204
207
{
205
208
$ this ->char = 0 ;
@@ -210,6 +213,7 @@ public function rewind()
210
213
*
211
214
* @return bool Whether the current pointer location is valid.
212
215
*/
216
+ #[\ReturnTypeWillChange]
213
217
public function valid ()
214
218
{
215
219
return $ this ->char < $ this ->EOF ;
@@ -324,6 +328,7 @@ public function peek()
324
328
return false ;
325
329
}
326
330
331
+ #[\ReturnTypeWillChange]
327
332
public function key ()
328
333
{
329
334
return $ this ->char ;
You can’t perform that action at this time.
0 commit comments