From c288c11d0150521e9383cc9cfa217f6891bf733b Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Wed, 1 Jul 2020 20:06:36 +0200 Subject: [PATCH] Failed to avoid the void trap --- src/PhpSpreadsheet/Reader/Gnumeric.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Reader/Gnumeric.php b/src/PhpSpreadsheet/Reader/Gnumeric.php index 4d4988e9..d96d562e 100644 --- a/src/PhpSpreadsheet/Reader/Gnumeric.php +++ b/src/PhpSpreadsheet/Reader/Gnumeric.php @@ -432,7 +432,7 @@ class Gnumeric extends BaseReader } } - private function printInformation(SimpleXMLElement $sheet) + private function printInformation(SimpleXMLElement $sheet): void { if (!$this->readDataOnly && isset($sheet->PrintInformation)) { $printInformation = $sheet->PrintInformation[0];