Skip to content

Commit 0311e63

Browse files
Add return types to internal & magic methods when possible
1 parent 1b21bca commit 0311e63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Resource/GlobResource.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ public function __sleep(): array
9191
return ['prefix', 'pattern', 'recursive', 'hash', 'forExclusion', 'excludedPrefixes'];
9292
}
9393

94+
/**
95+
* @return \Traversable
96+
*/
9497
public function getIterator()
9598
{
9699
if (!file_exists($this->prefix) || (!$this->recursive && '' === $this->pattern)) {

0 commit comments

Comments
 (0)