Skip to content

Commit e36c082

Browse files
committed
Pint fix
1 parent f34aa81 commit e36c082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/ImageService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ final class ImageService
1010
public function __construct(private string $src, private int $width, private int $height, private array $baseManipulations)
1111
{
1212
$path = parse_url($src, PHP_URL_PATH);
13-
$this->src = $path !== false ? $path : $src;
13+
$this->src = is_string($path) ? $path : $src;
1414
}
1515

1616
public function url(array $manipulations): string

0 commit comments

Comments
 (0)