Completed
Push — master ( 8ad0e5...05ab4d )
by Alec
04:24
created
src/Tools/Benchmark.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $this->functions = [];
57 57
         $this->rewindable =
58 58
             new Rewindable(
59
-                function (int $iterations, int $i = 1): \Generator {
59
+                function(int $iterations, int $i = 1): \Generator {
60 60
                     while ($i <= $iterations) {
61 61
                         yield $i++;
62 62
                     }
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             $result = $function(...$args);
128 128
         } catch (\Throwable $e) {
129 129
             $this->errorState = true;
130
-            $result = brackets(typeOf($e)) . ': ' . $e->getMessage();
130
+            $result = brackets(typeOf($e)).': '.$e->getMessage();
131 131
             $this->exceptionMessages[$f->getIndexedName()] = $result;
132 132
         }
133 133
         $f->setResult($result);
Please login to merge, or discard this patch.