Passed
Pull Request — master (#1)
by Maxime
05:14
created
src/Repository/ReportRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -547,7 +547,7 @@
 block discarded – undo
547 547
                     // Get the field key, for example `without_tax_shipping` if we need to increment `without_tax_shipping_total`
548 548
                     $resultKey = str_replace('_total', '', $key);
549 549
                     if (isset($elementResult[$resultKey])) {
550
-                        $this->result[$key] += (int)$elementResult[$resultKey]; // Cast in int because doctrine return string for columns with `+`, and we can have null values
550
+                        $this->result[$key] += (int) $elementResult[$resultKey]; // Cast in int because doctrine return string for columns with `+`, and we can have null values
551 551
                     }
552 552
                 }
553 553
             }
Please login to merge, or discard this patch.