diff options
author | Remi Collet <remi@remirepo.net> | 2023-03-31 09:02:19 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-03-31 09:02:19 +0200 |
commit | 90b9016133eb0a9f2e2fa63591cb6f2cc023f90e (patch) | |
tree | 6ba8a35f2a310dd021bc707c139e95490d1fb28a /php-file-iterator-php8.patch | |
parent | ad40e85243d7289986bdf47d245947dc6da41bcc (diff) |
Diffstat (limited to 'php-file-iterator-php8.patch')
-rw-r--r-- | php-file-iterator-php8.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/php-file-iterator-php8.patch b/php-file-iterator-php8.patch new file mode 100644 index 0000000..4d96826 --- /dev/null +++ b/php-file-iterator-php8.patch @@ -0,0 +1,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(); |