Failed Conditions
Pull Request — develop (#521)
by Robin
64:58
created
tests/PhpSpreadsheetTests/Cell/CoordinateTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
     {
212 212
         $result = Coordinate::splitRange(...$args);
213 213
         foreach ($result as $key => $split) {
214
-            if (! is_array($expectedResult[$key])) {
214
+            if (!is_array($expectedResult[$key])) {
215 215
                 self::assertEquals($expectedResult[$key], $split[0]);
216 216
             } else {
217 217
                 self::assertEquals($expectedResult[$key], $split);
Please login to merge, or discard this patch.
src/PhpSpreadsheet/Cell/Coordinate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@
 block discarded – undo
369 369
                 $currentRow = $startRow;
370 370
 
371 371
                 if ($startCol >= $endCol || $currentRow > $endRow) {
372
-                    throw new Exception('Invalid range: "'. $pRange . '"');
372
+                    throw new Exception('Invalid range: "' . $pRange . '"');
373 373
                 }
374 374
 
375 375
                 // Loop cells
Please login to merge, or discard this patch.