1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-21 05:01:20 +02:00

Rename method

This commit is contained in:
Oliver Vogel
2024-03-02 13:51:04 +01:00
parent 9f2ea1b688
commit 882b4a1a42

View File

@@ -41,11 +41,11 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
foreach ($lines as $line) { foreach ($lines as $line) {
foreach ($this->strokeOffsets($this->font) as $offset) { foreach ($this->strokeOffsets($this->font) as $offset) {
// Draw the stroke outline under the actual text // Draw the stroke outline under the actual text
$this->maybeDrawText($frame, $line, $drawStroke, $offset); $this->maybeDrawTextline($frame, $line, $drawStroke, $offset);
} }
// Draw the actual text // Draw the actual text
$this->maybeDrawText($frame, $line, $drawText); $this->maybeDrawTextline($frame, $line, $drawText);
} }
} }
@@ -120,7 +120,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
* @param Point $offset * @param Point $offset
* @return void * @return void
*/ */
private function maybeDrawText( private function maybeDrawTextline(
Frame $frame, Frame $frame,
Line $textline, Line $textline,
?ImagickDraw $draw = null, ?ImagickDraw $draw = null,