Skip to content

Commit

Permalink
Update Image.php to fix $prefixWithFormat (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanshiqi authored Aug 6, 2024
1 parent b60ffca commit 6289705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public function focalCrop(int $width, int $height, ?int $cropCenterX = null, ?in

public function base64(string $imageFormat = 'jpeg', bool $prefixWithFormat = true): string
{
return $this->imageDriver->base64($imageFormat);
return $this->imageDriver->base64($imageFormat, $prefixWithFormat);
}

public function background(string $color): static
Expand Down

0 comments on commit 6289705

Please sign in to comment.