There was an error while loading. Please reload this page.
1 parent 3386256 commit 4ddda7cCopy full SHA for 4ddda7c
src/file/Cursor.php
@@ -40,6 +40,7 @@ public function __construct($collection, $cursor)
40
* This method is required by the interface [[\Iterator]].
41
* @return mixed current row
42
*/
43
+ #[\ReturnTypeWillChange]
44
public function current()
45
{
46
$value = parent::current();
@@ -146,4 +147,4 @@ public function __unset($name)
146
147
$cursor = $this->getInnerIterator();
148
unset($cursor->$name);
149
}
-}
150
+}
0 commit comments