diff --git a/src/PhpSpreadsheet/Reader/Excel2007.php b/src/PhpSpreadsheet/Reader/Excel2007.php index cbfc340c..a86f1abc 100644 --- a/src/PhpSpreadsheet/Reader/Excel2007.php +++ b/src/PhpSpreadsheet/Reader/Excel2007.php @@ -1875,9 +1875,9 @@ class Excel2007 extends BaseReader implements IReader /** * @param \PhpOffice\PhpSpreadsheet\Style $docStyle - * @param \stdClass $style + * @param \stdClass|\SimpleXMLElement $style */ - private static function readStyle($docStyle, \stdClass $style) + private static function readStyle(\PhpOffice\PhpSpreadsheet\Style $docStyle, $style) { $docStyle->getNumberFormat()->setFormatCode($style->numFmt);