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()
183183 *
184184 * @return string The current character.
185185 */
186+ #[\ReturnTypeWillChange]
186187 public function current ()
187188 {
188189 return $ this ->data [$ this ->char ];
@@ -192,6 +193,7 @@ public function current()
192193 * Advance the pointer.
193194 * This is part of the Iterator interface.
194195 */
196+ #[\ReturnTypeWillChange]
195197 public function next ()
196198 {
197199 ++$ this ->char ;
@@ -200,6 +202,7 @@ public function next()
200202 /**
201203 * Rewind to the start of the string.
202204 */
205+ #[\ReturnTypeWillChange]
203206 public function rewind ()
204207 {
205208 $ this ->char = 0 ;
@@ -210,6 +213,7 @@ public function rewind()
210213 *
211214 * @return bool Whether the current pointer location is valid.
212215 */
216+ #[\ReturnTypeWillChange]
213217 public function valid ()
214218 {
215219 return $ this ->char < $ this ->EOF ;
@@ -324,6 +328,7 @@ public function peek()
324328 return false ;
325329 }
326330
331+ #[\ReturnTypeWillChange]
327332 public function key ()
328333 {
329334 return $ this ->char ;
You can’t perform that action at this time.
0 commit comments