Skip to content

Commit

Permalink
Merge pull request #2 from H-Algabri/feature/deprecate-warning
Browse files Browse the repository at this point in the history
fixed deprecated warning
  • Loading branch information
schmunk42 authored Dec 8, 2023
2 parents 713caa4 + 0cbf275 commit 859c340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function image($imageSource, $preset = '')
if (empty($imageSource)) {
return null;
}
$preset = trim($preset, "/");
$preset = trim((string)$preset, "/");
$baseUrl = static::getBaseUrl();
$prefix = static::getPrefix();
$imageSourceFull = $imageSource . static::getSuffix();
Expand Down

0 comments on commit 859c340

Please sign in to comment.