Completed
Pull Request — develop (#331)
by
unknown
29:52
created
src/PhpSpreadsheet/Reader/Xml.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -426,14 +426,14 @@  discard block
 block discarded – undo
426 426
         if (isset($xml->Styles)) {
427 427
             foreach ($xml->Styles[0] as $style) {
428 428
                 $style_ss = $style->attributes($namespaces['ss']);
429
-                $styleID = (string)$style_ss['ID'];
429
+                $styleID = (string) $style_ss['ID'];
430 430
                 $this->styles[$styleID] = (isset($this->styles['Default'])) ? $this->styles['Default'] : [];
431 431
                 foreach ($style as $styleType => $styleData) {
432 432
                     $styleAttributes = $styleData->attributes($namespaces['ss']);
433 433
                     switch ($styleType) {
434 434
                         case 'Alignment':
435 435
                             foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {
436
-                                $styleAttributeValue = (string)$styleAttributeValue;
436
+                                $styleAttributeValue = (string) $styleAttributeValue;
437 437
                                 switch ($styleAttributeKey) {
438 438
                                     case 'Vertical':
439 439
                                         if (self::identifyFixedStyleValue($verticalAlignmentStyles, $styleAttributeValue)) {
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
                             break;
489 489
                         case 'Font':
490 490
                             foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) {
491
-                                $styleAttributeValue = (string)$styleAttributeValue;
491
+                                $styleAttributeValue = (string) $styleAttributeValue;
492 492
                                 switch ($styleAttributeKey) {
493 493
                                     case 'FontName':
494 494
                                         $this->styles[$styleID]['font']['name'] = $styleAttributeValue;
Please login to merge, or discard this patch.