Skip to content

Commit 4f2948a

Browse files
committed
Merge branch '5.2' into 5.3
2 parents 5534344 + d73a48e commit 4f2948a

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

715715
private function toIterable($files): iterable
716716
{
717-
return \is_array($files) || $files instanceof \Traversable ? $files : [$files];
717+
return is_iterable($files) ? $files : [$files];
718718
}
719719

720720
/**

0 commit comments

Comments
 (0)