Skip to content

Commit

Permalink
fixes #3831
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jun 4, 2024
1 parent 785f641 commit 856a478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct(RecursiveIterator $iterator, $root, $ignore_folders,
*
* @return bool true if the current element is acceptable, otherwise false.
*/
public function accept()
public function accept() :bool
{
/** @var SplFileInfo $file */
$file = $this->current();
Expand All @@ -72,7 +72,7 @@ public function accept()
/**
* @return RecursiveDirectoryFilterIterator|RecursiveFilterIterator
*/
public function getChildren()
public function getChildren() :RecursiveFilterIterator
{
/** @var RecursiveDirectoryFilterIterator $iterator */
$iterator = $this->getInnerIterator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(RecursiveIterator $iterator, $ignore_folders = [])
*
* @return bool true if the current element is acceptable, otherwise false.
*/
public function accept()
public function accept() :bool
{
/** @var SplFileInfo $current */
$current = $this->current();
Expand Down

0 comments on commit 856a478

Please sign in to comment.