From bfa6cd07d1e4bb1b0da3d6dcb23b7b73aafa9ffb Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Sat, 29 Feb 2020 18:34:15 +0100 Subject: [PATCH] fix php cs --- src/Url.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Url.php b/src/Url.php index cfc4422..be926d4 100644 --- a/src/Url.php +++ b/src/Url.php @@ -509,7 +509,7 @@ public function toUrl(): string 'url' => $this->imageUrl, ])); - return $this->baseUrl . '?' . $query; + return $this->baseUrl.'?'.$query; } public function toImg(array $attr = []): string @@ -521,7 +521,7 @@ public function toImg(array $attr = []): string implode( ' ', array_map( - fn($k, $v) => sprintf('%s="%s"', $k, htmlspecialchars($v)), + fn ($k, $v) => sprintf('%s="%s"', $k, htmlspecialchars($v)), array_keys($attr), $attr )