Passed
Pull Request — master (#56)
by Christophe
03:45
created
Output/Javascript/DateOutput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function draw(\DateTimeInterface $date): string
13 13
     {
14
-        return 'new Date('.$date->format('Y').', '.((int) $date->format('n') - 1).', '.$date->format('j').', '.
14
+        return 'new Date('.$date->format('Y').', '.((int)$date->format('n')-1).', '.$date->format('j').', '.
15 15
             $date->format('H').', '.$date->format('i').', '.$date->format('s').')';
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
Output/AbstractOptionsOutput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 {
10 10
     public function removeRecursivelyNullValue(&$options): void
11 11
     {
12
-        $options = array_filter((array) $options, fn ($val) => !is_null($val));
12
+        $options = array_filter((array)$options, fn ($val) => !is_null($val));
13 13
 
14 14
         foreach ($options as $key => $value) {
15 15
             if (is_object($value) || is_array($value)) {
Please login to merge, or discard this patch.
Output/Javascript/ChartOutput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
 
142 142
     public function loadLibraries(array $packages): string
143 143
     {
144
-        array_walk($packages, function (&$item): void {
144
+        array_walk($packages, function(&$item): void {
145 145
             $item = "'".$item."'";
146 146
         });
147 147
 
Please login to merge, or discard this patch.