Skip to content

Commit

Permalink
Fix cs error
Browse files Browse the repository at this point in the history
Move expression to new line
  • Loading branch information
kyleweishaupt committed Dec 18, 2019
1 parent b49306e commit cb73d8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Pdf/Engine/MpdfEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ public function output()
{
$orientation = $this->_Pdf->orientation() === 'landscape' ? 'L' : 'P';
$format = $this->_Pdf->pageSize();
if (is_string($format)
if (
is_string($format)
&& $orientation === 'L'
&& strpos($format, '-L') === false
) {
Expand Down

0 comments on commit cb73d8b

Please sign in to comment.