@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | if (\XMLReader::ELEMENT === $this->xml->nodeType) { |
136 | 136 | switch ($this->xml->name) { |
137 | 137 | case 'row': |
138 | - $currentKey = (int)$this->xml->getAttribute('r'); |
|
138 | + $currentKey = (int) $this->xml->getAttribute('r'); |
|
139 | 139 | $rowBuilder = $this->rowBuilderFactory->create(); |
140 | 140 | break; |
141 | 141 | case 'c': |
@@ -158,12 +158,12 @@ discard block |
||
158 | 158 | case 'row': |
159 | 159 | $currentValue = $rowBuilder->getData(); |
160 | 160 | |
161 | - if($currentKey === 1) { |
|
162 | - if($this->maxColumnHeaderCount < count($currentValue)) { |
|
161 | + if ($currentKey === 1) { |
|
162 | + if ($this->maxColumnHeaderCount < count($currentValue)) { |
|
163 | 163 | $this->maxColumnHeaderCount = count($currentValue); |
164 | 164 | } |
165 | 165 | } elseif (count($currentValue) < $this->maxColumnHeaderCount) { |
166 | - for($i = count($currentValue); $i < $this->maxColumnHeaderCount; $i++) { |
|
166 | + for ($i = count($currentValue); $i < $this->maxColumnHeaderCount; $i++) { |
|
167 | 167 | $currentValue[] = ''; |
168 | 168 | } |
169 | 169 | } |