mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-30 20:18:00 +00:00
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:
@@ -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)) {
|
||||
foreach ($xmlX->WorksheetOptions->PageSetup as $pageSetupData) {
|
||||
|
||||
@@ -12,6 +12,7 @@ class PageSetupTest extends TestCase
|
||||
private const MARGIN_PRECISION = 0.000001;
|
||||
|
||||
private const MARGIN_UNIT_CONVERSION = 2.54; // Inches to cm
|
||||
|
||||
/**
|
||||
* @var Spreadsheet
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user