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 5d534e2 commit 73b2877Copy full SHA for 73b2877
src/FileFinder.php
@@ -682,7 +682,7 @@ private function findInDirectory(string $dir): Iterator
682
private string $directorySep = '/';
683
private bool $skipUnreadableDirs;
684
685
- public function __construct(string $path, int $flags, bool $recursive, bool $skipUnreadableDirs = true)
+ public function __construct(string $path, int $flags, bool $recursive = true, bool $skipUnreadableDirs = true)
686
{
687
if ($flags & (self::CURRENT_AS_PATHNAME | self::CURRENT_AS_SELF)) {
688
throw new RuntimeException('This iterator only support returning current as fileInfo.');
@@ -733,6 +733,7 @@ public function getChildren(): RecursiveDirectoryIterator
733
734
try {
735
$children = parent::getChildren();
736
+
737
if ($children instanceof self) {
738
$children->rootPath = $this->rootPath;
739
$children->rewindable = &$this->rewindable;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments