Keep phpcs happy
This commit is contained in:
parent
fbb04c1f82
commit
1f865c84c0
|
@ -3445,7 +3445,7 @@ class Xls extends BaseReader
|
|||
// offset: 10; size: 2; option flags
|
||||
|
||||
// bit: 0; mask: 0x0001; 0=down then over, 1=over then down
|
||||
$isOverThenDown= (0x0001 & self::getUInt2d($recordData, 10));
|
||||
$isOverThenDown = (0x0001 & self::getUInt2d($recordData, 10));
|
||||
|
||||
// bit: 1; mask: 0x0002; 0=landscape, 1=portrait
|
||||
$isPortrait = (0x0002 & self::getUInt2d($recordData, 10)) >> 1;
|
||||
|
|
|
@ -1730,8 +1730,8 @@ class Worksheet extends BIFFwriter
|
|||
$iCopies = 0x01; // Number of copies
|
||||
|
||||
// Order of printing pages
|
||||
$fLeftToRight = $this->phpSheet->getPageSetup()->getPageOrder() == PageSetup::PAGEORDER_OVER_THEN_DOWN
|
||||
? 0x0 : 0x1;
|
||||
$fLeftToRight = $this->phpSheet->getPageSetup()->getPageOrder() === PageSetup::PAGEORDER_DOWN_THEN_OVER
|
||||
? 0x1 : 0x0;
|
||||
// Page orientation
|
||||
$fLandscape = ($this->phpSheet->getPageSetup()->getOrientation() == PageSetup::ORIENTATION_LANDSCAPE)
|
||||
? 0x0 : 0x1;
|
||||
|
|
Loading…
Reference in New Issue