Skip to content

Commit

Permalink
Merge pull request #27 from olivervogel/main
Browse files Browse the repository at this point in the history
Fix errors occurred with Intervention Image 3.3.1
  • Loading branch information
simonhamp authored Jan 26, 2024
2 parents 5059101 + 838ae4d commit cc15228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"require": {
"php": "^8.2",
"ext-imagick": "*",
"intervention/image": "~3.1.0"
"intervention/image": "^3.3.1"
},
"license": "MIT",
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion src/Layout/TextBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function getPrerenderedBox(): Rectangle

protected function generateModifier(string $text, Point $position = new Point()): CustomTextModifier
{
return new CustomTextModifier(
return CustomTextModifier::buildSpecialized(
new TextModifier(
$text,
$position,
Expand Down

0 comments on commit cc15228

Please sign in to comment.