Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
endroid committed Nov 27, 2018
1 parent 4752fc7 commit b93d790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writer/PngWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private function addLogo($sourceImage, string $logoPath, int $logoWidth = null,
$logoX = imagesx($sourceImage) / 2 - $logoWidth / 2;
$logoY = imagesy($sourceImage) / 2 - $logoHeight / 2;

imagecopyresampled($sourceImage, $logoImage, (int)$logoX, (int)$logoY, 0, 0, $logoWidth, $logoHeight, $logoSourceWidth, $logoSourceHeight);
imagecopyresampled($sourceImage, $logoImage, (int) $logoX, (int) $logoY, 0, 0, $logoWidth, $logoHeight, $logoSourceWidth, $logoSourceHeight);

return $sourceImage;
}
Expand Down

0 comments on commit b93d790

Please sign in to comment.