Skip to content

Commit

Permalink
Cast lines to string
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Jan 22, 2024
1 parent d37e47b commit fd09f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Drivers/Gd/Modifiers/TextModifier.php
Expand Up @@ -38,7 +38,7 @@ public function apply(ImageInterface $image): ImageInterface
$line->position()->y(),
$color,
$this->font->filename(),
$line
(string) $line
);
}
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/Drivers/Imagick/Modifiers/TextModifier.php
Expand Up @@ -39,7 +39,7 @@ public function apply(ImageInterface $image): ImageInterface
$line->position()->x(),
$line->position()->y(),
$this->font->angle(),
$line
(string) $line
);
}
}
Expand Down

0 comments on commit fd09f59

Please sign in to comment.