@@ -692,14 +692,14 @@ discard block |
||
692 | 692 | |
693 | 693 | foreach ($xml->Styles[0] as $style) { |
694 | 694 | $style_ss = $style->attributes($namespaces['ss']); |
695 | - $styleID = (string)$style_ss['ID']; |
|
695 | + $styleID = (string) $style_ss['ID']; |
|
696 | 696 | $this->styles[$styleID] = (isset($this->styles['Default'])) ? $this->styles['Default'] : []; |
697 | 697 | foreach ($style as $styleType => $styleData) { |
698 | 698 | $styleAttributes = $styleData->attributes($namespaces['ss']); |
699 | 699 | switch ($styleType) { |
700 | 700 | case 'Alignment': |
701 | 701 | foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) { |
702 | - $styleAttributeValue = (string)$styleAttributeValue; |
|
702 | + $styleAttributeValue = (string) $styleAttributeValue; |
|
703 | 703 | switch ($styleAttributeKey) { |
704 | 704 | case 'Vertical': |
705 | 705 | if (self::identifyFixedStyleValue($verticalAlignmentStyles, $styleAttributeValue)) { |
@@ -754,7 +754,7 @@ discard block |
||
754 | 754 | break; |
755 | 755 | case 'Font': |
756 | 756 | foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) { |
757 | - $styleAttributeValue = (string)$styleAttributeValue; |
|
757 | + $styleAttributeValue = (string) $styleAttributeValue; |
|
758 | 758 | switch ($styleAttributeKey) { |
759 | 759 | case 'FontName': |
760 | 760 | $this->styles[$styleID]['font']['name'] = $styleAttributeValue; |