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