Skip to content

Commit be0ff93

Browse files
committed
Merge branch '5.4' into 6.0
2 parents 4e26a32 + 4f2948a commit be0ff93

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
@@ -696,7 +696,7 @@ public function appendToFile(string $filename, $content)
696696

697697
private function toIterable(string|iterable $files): iterable
698698
{
699-
return \is_string($files) ? [$files] : $files;
699+
return is_iterable($files) ? $files : [$files];
700700
}
701701

702702
/**

0 commit comments

Comments
 (0)