Skip to content

Commit

Permalink
Improved compatibility with PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
batumibiz committed Dec 19, 2024
1 parent d0257e8 commit 64c6a7e
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 @@ -19,7 +19,7 @@ class Image implements Stringable

public function __construct(
string|Stringable $code,
ImageOptions $imageOptions = null
ImageOptions|null $imageOptions = null
) {
$this->code = (string) $code;
$this->imageOptions = $imageOptions ?? new ImageOptions();
Expand Down

0 comments on commit 64c6a7e

Please sign in to comment.