Skip to content

Commit

Permalink
fix phpstan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Apr 5, 2021
1 parent 342d09c commit 227256b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Finder.php
Expand Up @@ -38,6 +38,7 @@ public function getIterator()
$this->name('~^'.$configFilenameRegex.'$~is');

$fx = \Closure::bind(function () { // rebound function can be called without assigment as of PHP 7
// @phpstan-ignore-next-line, see https://github.com/phpstan/phpstan/issues/4808
return $this->ignore & static::IGNORE_DOT_FILES;
}, $this, parent::class);
$isDotFilesIgnored = $fx();
Expand Down

0 comments on commit 227256b

Please sign in to comment.