diff --git a/src/ImageStorage.php b/src/ImageStorage.php index bc27e70..bd0582d 100644 --- a/src/ImageStorage.php +++ b/src/ImageStorage.php @@ -53,7 +53,7 @@ public function getRelativeInternalUrl(string $url): string { $originalFileName = (string) preg_replace_callback( '/^.*\/([^\/]+)\.([^.]+)$/', - fn (array $match): string => substr(Strings::webalize($match[1]), 0, 64) . '.' . strtolower($match[2]), + fn(array $match): string => substr(Strings::webalize($match[1]), 0, 64) . '.' . strtolower($match[2]), $url, ); $relativeName = substr(md5($url), 0, 7) . '-' . $originalFileName;