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 ac0764d commit b0aa757Copy full SHA for b0aa757
component/File.php
@@ -63,6 +63,6 @@ public static function download(string $distantPath, ?string $localPath = null):
63
64
file_put_contents($localPath, fopen($distantPath, 'r'));
65
66
- return new self($localPath);
+ return $localPath;
67
}
68
0 commit comments