mirror of
https://github.com/Intervention/image.git
synced 2025-08-18 11:41:17 +02:00
Cast lines to string
This commit is contained in:
@@ -38,7 +38,7 @@ class TextModifier extends AbstractTextModifier
|
||||
$line->position()->y(),
|
||||
$color,
|
||||
$this->font->filename(),
|
||||
$line
|
||||
(string) $line
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
@@ -39,7 +39,7 @@ class TextModifier extends AbstractTextModifier
|
||||
$line->position()->x(),
|
||||
$line->position()->y(),
|
||||
$this->font->angle(),
|
||||
$line
|
||||
(string) $line
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user