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 @@ -177,6 +177,7 @@ public function getColumnOffset()
177177 *
178178 * @return string The current character.
179179 */
180+ #[\ReturnTypeWillChange]
180181 public function current ()
181182 {
182183 return $ this ->data [$ this ->char ];
@@ -186,6 +187,7 @@ public function current()
186187 * Advance the pointer.
187188 * This is part of the Iterator interface.
188189 */
190+ #[\ReturnTypeWillChange]
189191 public function next ()
190192 {
191193 $ this ->char ++;
@@ -194,6 +196,7 @@ public function next()
194196 /**
195197 * Rewind to the start of the string.
196198 */
199+ #[\ReturnTypeWillChange]
197200 public function rewind ()
198201 {
199202 $ this ->char = 0 ;
@@ -204,6 +207,7 @@ public function rewind()
204207 *
205208 * @return bool Is the current pointer location valid.
206209 */
210+ #[\ReturnTypeWillChange]
207211 public function valid ()
208212 {
209213 if ($ 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