Passed
Push — master ( 9c4b3c...2ae703 )
by Sebastian
02:13
created
src/Calculator/LeftoverFiller.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * @see Mistralys\WidthsCalculator\Calculator\LeftoverFiller
7 7
  */
8 8
 
9
-declare (strict_types=1);
9
+declare(strict_types=1);
10 10
 
11 11
 namespace Mistralys\WidthsCalculator\Calculator;
12 12
 
@@ -47,14 +47,14 @@  discard block
 block discarded – undo
47 47
         $leftover = $this->calculator->getMaxTotal() - $this->operations->calcTotal();
48 48
         $perCol = $leftover / $this->operations->countColumns();
49 49
 
50
-        if($this->calculator->isIntegerMode())
50
+        if ($this->calculator->isIntegerMode())
51 51
         {
52 52
             $perCol = (int)ceil($perCol);
53 53
         }
54 54
 
55
-        for($i=($this->operations->countColumns()-1); $i >=0; $i--)
55
+        for ($i = ($this->operations->countColumns() - 1); $i >= 0; $i--)
56 56
         {
57
-            if($leftover <= 0)
57
+            if ($leftover <= 0)
58 58
             {
59 59
                 break;
60 60
             }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     */
81 81
     private function cleanUp(float $leftover) : void
82 82
     {
83
-        if($leftover >= 0)
83
+        if ($leftover >= 0)
84 84
         {
85 85
             return;
86 86
         }
Please login to merge, or discard this patch.