fix access error

Fix the error "Trying to access array offset on value of type null"
This commit is contained in:
Roland Eigelsreiter
2019-10-29 10:24:35 +01:00
committed by Adrien Crivelli
parent 7f5e0f0a37
commit e5409f0fed
+1 -1
View File
@@ -163,7 +163,7 @@ class Styles extends BaseParserClass
self::readBorderStyle($docStyle->getBorders(), $style->border);
}
if (isset($style->alignment)) {
if (isset($style->alignment->alignment)) {
self::readAlignmentStyle($docStyle->getAlignment(), $style->alignment);
}