Completed
Push — master ( f77899...f9a123 )
by Alec
13:17 queued 01:55
created
src/Tools/BenchmarkWithSpinner.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,17 +18,17 @@
 block discarded – undo
18 18
         if (!$quiet) {
19 19
             $s = $spinner ?? new SnakeSpinner('Benchmarking');
20 20
             $progressStart =
21
-                static function () use ($s): void {
21
+                static function() use ($s): void {
22 22
                     $s->begin(0.0);
23 23
                 };
24 24
 
25 25
             $progressAdvance =
26
-                static function (?float $percent = null) use ($s): void {
26
+                static function(?float $percent = null) use ($s) : void {
27 27
                     $s->spin($percent);
28 28
                 };
29 29
 
30 30
             $progressFinish =
31
-                static function () use ($s): void {
31
+                static function() use ($s): void {
32 32
                     $s->end();
33 33
                 };
34 34
 
Please login to merge, or discard this patch.
src/Tools/Formatters/BenchmarkFunctionSymfonyFormatter.php 1 patch
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@  discard block
 block discarded – undo
39 39
         return
40 40
             $this->theme->dark(
41 41
                 'array' === $type ?
42
-                    $exportedValue :
43
-                    sprintf(
42
+                    $exportedValue : sprintf(
44 43
                         '%s(%s)',
45 44
                         $type,
46 45
                         $exportedValue
@@ -81,8 +80,7 @@  discard block
 block discarded – undo
81 80
     {
82 81
         return
83 82
             $rank === 1 ?
84
-                $this->averageFirst($average) :
85
-                $this->average($average);
83
+                $this->averageFirst($average) : $this->average($average);
86 84
     }
87 85
 
88 86
     protected function averageFirst(float $average): string
Please login to merge, or discard this patch.