Skip to content

Commit de7a955

Browse files
committed
pasteOn bug fix
1 parent 1dcab18 commit de7a955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ private function colorAllocate(string $color): int
642642
* @param int|string $posY Top position in pixel. You can use `Image::ALIGN_TOP`, `Image::ALIGN_MIDDLE`, `Image::ALIGN_BOTTOM`
643643
* @return $this Fluent interface
644644
*/
645-
public function pasteOn(Image $image, $posX = Image::ALIGN_CENTER, $posY = Image::ALIGN_CENTER): Image
645+
public function pasteOn(Image $image, $posX = Image::ALIGN_CENTER, $posY = Image::ALIGN_MIDDLE): Image
646646
{
647647
if (!$this->isImageDefined() || !$image->isImageDefined()) {
648648
return $this;

0 commit comments

Comments
 (0)