Skip to content

Commit

Permalink
Fixed cs error
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianKresse committed Jun 30, 2020
1 parent 3b21ab5 commit 8648555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Writer/FpdfWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ protected function addLogo(
}
}

$logoX = $imageWidth / 2 - $logoWidth / 2;
$logoY = $imageHeight / 2 - $logoHeight / 2;
$logoX = $imageWidth / 2 - (int) $logoWidth / 2;
$logoY = $imageHeight / 2 - (int) $logoHeight / 2;

$fpdf->Image($logoPath, $logoX, $logoY, $logoWidth, $logoHeight);
}
Expand Down

0 comments on commit 8648555

Please sign in to comment.