Completed
Push — master ( eb4d77...166b7f )
by Alec
03:06
created
src/Profiler/Timer.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,7 @@
 block discarded – undo
226 226
                     static::_MIN => $this->format($minValue, $units, $precision),
227 227
                     static::_MAX => $this->format($this->getMaxValue(), $units, $precision),
228 228
                     static::_COUNT => $count,
229
-                ] :
230
-                [
229
+                ] : [
231 230
                     static::_LAST => $this->getCurrentValue(),
232 231
                     static::_AVG => $this->getAvgValue(),
233 232
                     static::_MIN => $minValue,
Please login to merge, or discard this patch.
src/Tools/Benchmark.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     {
29 29
         $this->iterations =
30 30
             new Rewindable(
31
-                function (int $iterations): \Generator {
31
+                function(int $iterations): \Generator {
32 32
                     $i = 1;
33 33
                     while ($i <= $iterations) {
34 34
                         yield $i++;
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             $this->tmpName = null;
72 72
         }
73 73
         if (array_key_exists($callableName, $this->functions)) {
74
-            $callableName .= '_' . ++$this->namingIndex;
74
+            $callableName .= '_'.++$this->namingIndex;
75 75
         }
76 76
         $this->functions[$callableName] = [$func, $args];
77 77
     }
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
         foreach ($relatives as $name => $relative) {
120 120
             $relatives[$name] =
121
-                $this->toPercentage($relative) . ' ' .
121
+                $this->toPercentage($relative).' '.
122 122
                 brackets(format_time($averages[$name]), BRACKETS_PARENTHESES);
123 123
         }
124 124
         return $relatives;
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     private function toPercentage(float $relative): string
132 132
     {
133 133
         return
134
-            number_format($relative * 100, 1) . '%';
134
+            number_format($relative * 100, 1).'%';
135 135
     }
136 136
 
137 137
     /**
Please login to merge, or discard this patch.