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.
2 parents 3fcb502 + 172e328 commit b2d179fCopy full SHA for b2d179f
component/File.php
@@ -55,7 +55,7 @@ public static function cleanFilename(string $fileName): string
55
return $fileName . '.' . $extension;
56
}
57
58
- public static function download(string $distantPath, ?string $localPath = null): self
+ public static function download(string $distantPath, ?string $localPath = null): string
59
{
60
if (!$localPath) {
61
$localPath = self::getTemoraryDirectory() . date('Y-m-d_H-i-s') . '-' . self::cleanFilename($distantPath);
0 commit comments