summaryrefslogtreecommitdiffstats
path: root/php-file-iterator-php8.patch
blob: 4d96826cfa39aaf23f4f8ad450d5edb1b90a8634 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -up ./File/Iterator.php.old ./File/Iterator.php
--- ./File/Iterator.php.old	2023-03-31 08:58:25.848491706 +0200
+++ ./File/Iterator.php	2023-03-31 08:58:39.908447317 +0200
@@ -73,6 +73,7 @@ class File_Iterator extends FilterIterat
     /**
      * @return bool
      */
+    #[\ReturnTypeWillChange]
     public function accept()
     {
         $current  = $this->getInnerIterator()->current();