Passed
Push — develop ( d84c4e...84aa32 )
by Alec
05:02 queued 01:51
created
src/Tools/Benchmark.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $this->iterations = $this->refineIterations($iterations);
53 53
 
54
-        $this->generatorFunction = function (int $iterations, int $i = 1): \Generator {
54
+        $this->generatorFunction = function(int $iterations, int $i = 1): \Generator {
55 55
             while ($i <= $iterations) {
56 56
                 yield $i++;
57 57
             }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         $iterations = $iterations ?? self::MIN_ITERATIONS;
67 67
         if ($iterations < self::MIN_ITERATIONS) {
68
-            throw new \RuntimeException(__CLASS__ . ': Iterations should greater then ' . self::MIN_ITERATIONS);
68
+            throw new \RuntimeException(__CLASS__.': Iterations should greater then '.self::MIN_ITERATIONS);
69 69
         }
70 70
         return $iterations;
71 71
     }
Please login to merge, or discard this patch.