Skip to content

Commit d73a48e

Browse files
committed
Merge branch '4.4' into 5.2
2 parents 1edb762 + bb966eb commit d73a48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public function appendToFile(string $filename, $content)
695695

696696
private function toIterable($files): iterable
697697
{
698-
return \is_array($files) || $files instanceof \Traversable ? $files : [$files];
698+
return is_iterable($files) ? $files : [$files];
699699
}
700700

701701
/**

0 commit comments

Comments
 (0)