Skip to content

Commit

Permalink
pasteOn bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck ALARY committed Sep 8, 2021
1 parent 1dcab18 commit de7a955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ private function colorAllocate(string $color): int
* @param int|string $posY Top position in pixel. You can use `Image::ALIGN_TOP`, `Image::ALIGN_MIDDLE`, `Image::ALIGN_BOTTOM`
* @return $this Fluent interface
*/
public function pasteOn(Image $image, $posX = Image::ALIGN_CENTER, $posY = Image::ALIGN_CENTER): Image
public function pasteOn(Image $image, $posX = Image::ALIGN_CENTER, $posY = Image::ALIGN_MIDDLE): Image
{
if (!$this->isImageDefined() || !$image->isImageDefined()) {
return $this;
Expand Down

0 comments on commit de7a955

Please sign in to comment.