PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | libraries/vendor/PhpSpreadsheet/Reader/Xml/PageSettings.php +16 -5 3.3.2 → 3.4 View file →
@@ -9,18 +9,29 @@
9 9 use stdClass;
10 10
11 11 class PageSettings
12 12 {
13 - /** @var (object{orientation: string, scale: ?int, printOrder: ?string,
14 - * paperSize: int,
15 - * horizontalCentered: bool, verticalCentered: bool, leftMargin: float, rightMargin: float, topMargin: float,
16 - * bottomMargin: float, headerMargin: float, footerMargin: float}&stdClass) */
13 + /** @var (object{
14 + * orientation: string,
15 + * scale: ?int,
16 + * printOrder: ?string,
17 + * paperSize: int,
18 + * horizontalCentered: bool,
19 + * verticalCentered: bool,
20 + * leftMargin: float,
21 + * rightMargin: float,
22 + * topMargin: float,
23 + * bottomMargin: float,
24 + * headerMargin: float,
25 + * footerMargin: float,
26 + * } &stdClass)
27 + */
17 28 private stdClass $printSettings;
18 29
19 30 public function __construct(SimpleXMLElement $xmlX)
20 31 {
21 32 $printSettings = $this->pageSetup($xmlX, $this->getPrintDefaults());
22 - $this->printSettings = $this->printSetup($xmlX, $printSettings); //* @phpstan-ignore-line
33 + $this->printSettings = $this->printSetup($xmlX, $printSettings); //* @phpstan-ignore assign.propertyType (I don't know what Phpstan wants)
23 34 }
24 35
25 36 public function loadPageSettings(Spreadsheet $spreadsheet): void
26 37 {