Skip to content

Commit 9234617

Browse files
committed
chore: clean up
1 parent 0535173 commit 9234617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public static function uploadAs(string $key, string $destination, string $name,
499499
$fileExtension = pathinfo($_FILES[$key]['name'], PATHINFO_EXTENSION);
500500

501501
$config['rename'] = true;
502-
$config['name'] = $name . '.' . $fileExtension;
502+
$config['name'] = "$name.$fileExtension";
503503

504504
return static::upload($key, $destination, $config);
505505
}

0 commit comments

Comments
 (0)