Hopefully a final phpcs fix before I start looking at how to run a pre-commit hook on Windows 10

This commit is contained in:
MarkBaker 2020-07-05 17:17:56 +02:00
parent e89196f65b
commit cf6769eab1
2 changed files with 2 additions and 1 deletions

View File

@ -897,7 +897,7 @@ class Xml extends BaseReader
]; ];
} }
private function pageSetup(SimpleXMLElement $xmlX, array $namespaces, \stdClass $printDefaults): \stdClass private function pageSetup(SimpleXMLElement $xmlX, array $namespaces, stdClass $printDefaults): stdClass
{ {
if (isset($xmlX->WorksheetOptions->PageSetup)) { if (isset($xmlX->WorksheetOptions->PageSetup)) {
foreach ($xmlX->WorksheetOptions->PageSetup as $pageSetupData) { foreach ($xmlX->WorksheetOptions->PageSetup as $pageSetupData) {

View File

@ -12,6 +12,7 @@ class PageSetupTest extends TestCase
private const MARGIN_PRECISION = 0.000001; private const MARGIN_PRECISION = 0.000001;
private const MARGIN_UNIT_CONVERSION = 2.54; // Inches to cm private const MARGIN_UNIT_CONVERSION = 2.54; // Inches to cm
/** /**
* @var Spreadsheet * @var Spreadsheet
*/ */