Skip to content

Commit

Permalink
[FileList] Fixed iterator (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
siad007 authored Nov 9, 2019
1 parent b546baf commit e77110a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/phing/types/FileList.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __construct($filelist = null)

public function getIterator()
{
return new ArrayIterator($this->getFiles());
return new ArrayIterator($this->getFiles($this->getProject()));
}

/**
Expand Down

0 comments on commit e77110a

Please sign in to comment.