fix access error
Fix the error "Trying to access array offset on value of type null"
This commit is contained in:
parent
7f5e0f0a37
commit
e5409f0fed
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue