Completed
Branch master (32b148)
by Edgar
03:11
created
src/svg/gradient/UniformGradient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             }
32 32
         }
33 33
         $step = 1 / (count($colors) - 1);
34
-        $offsets = array_map(function ($item) {
34
+        $offsets = array_map(function($item) {
35 35
             return $item % 1 !== 0 ? sprintf('%0.2f', $item) : $item;
36 36
         }, range(0, 1, $step));
37 37
 
Please login to merge, or discard this patch.
src/svg/traits/ElementTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function append(ElementInterface $elements)
21 21
     {
22 22
         /** @var ElementInterface[] $elements */
23
-        $elements = array_filter(func_get_args(), function ($item) {
23
+        $elements = array_filter(func_get_args(), function($item) {
24 24
             return $item instanceof ElementInterface;
25 25
         });
26 26
 
Please login to merge, or discard this patch.
src/svg/util/Bezier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
             return $p0;
127 127
         }
128 128
         $omt = 1 - $t;
129
-        $value = $p0 * $omt * $omt *$omt +
129
+        $value = $p0 * $omt * $omt * $omt +
130 130
             3 * $p1 * $t * $omt * $omt +
131 131
             3 * $p2 * $t * $t * $omt +
132 132
             $p3 * $t * $t * $t;
Please login to merge, or discard this patch.