We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 557a1fc commit 2fb4c17Copy full SHA for 2fb4c17
src/Filters/Filter.php
@@ -132,7 +132,8 @@ public function accept()
132
*/
133
public function getChildren()
134
{
135
- $children = new static(
+ $filterClass = get_called_class();
136
+ $children = new $filterClass(
137
new \RecursiveDirectoryIterator($this->current(), (\RecursiveDirectoryIterator::SKIP_DOTS | \FilesystemIterator::FOLLOW_SYMLINKS)),
138
$this->basedir,
139
$this->config,
0 commit comments