Loading src/Component/CsvParser.php +8 −0 Original line number Diff line number Diff line Loading @@ -187,6 +187,10 @@ class CsvParser implements \Iterator { /** * Implements \Iterator::current(). * * @todo return type should be "mixed", but that keyword is only available * since PHP 8.0. Add that as soon as Drupal 9 is no longer supported. And * then remove the "#[\ReturnTypeWillChange]" line. */ #[\ReturnTypeWillChange] public function current() { Loading @@ -195,6 +199,10 @@ class CsvParser implements \Iterator { /** * Implements \Iterator::key(). * * @todo return type should be "mixed", but that keyword is only available * since PHP 8.0. Add that as soon as Drupal 9 is no longer supported. And * then remove the "#[\ReturnTypeWillChange]" line. */ #[\ReturnTypeWillChange] public function key() { Loading Loading
src/Component/CsvParser.php +8 −0 Original line number Diff line number Diff line Loading @@ -187,6 +187,10 @@ class CsvParser implements \Iterator { /** * Implements \Iterator::current(). * * @todo return type should be "mixed", but that keyword is only available * since PHP 8.0. Add that as soon as Drupal 9 is no longer supported. And * then remove the "#[\ReturnTypeWillChange]" line. */ #[\ReturnTypeWillChange] public function current() { Loading @@ -195,6 +199,10 @@ class CsvParser implements \Iterator { /** * Implements \Iterator::key(). * * @todo return type should be "mixed", but that keyword is only available * since PHP 8.0. Add that as soon as Drupal 9 is no longer supported. And * then remove the "#[\ReturnTypeWillChange]" line. */ #[\ReturnTypeWillChange] public function key() { Loading