@@ -56,7 +56,7 @@ discard block |
||
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 |
||
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); |