Skip to content

Commit d9ea72d

Browse files
committed
Fix return types for PHP 8.1
1 parent 8132e8d commit d9ea72d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Resource/GlobResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function __wakeup(): void
102102
/**
103103
* @return \Traversable
104104
*/
105+
#[\ReturnTypeWillChange]
105106
public function getIterator()
106107
{
107108
if (!file_exists($this->prefix) || (!$this->recursive && '' === $this->pattern)) {

0 commit comments

Comments
 (0)