From c1921075f3fda9287bd8aa604f7fd3977e238758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Thu, 6 May 2021 11:00:08 +0200 Subject: [PATCH] ImageStorage: Fix coding standard --- src/ImageStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;