@@ -14,13 +14,13 @@ |
||
| 14 | 14 | |
| 15 | 15 | public function __construct( |
| 16 | 16 | private readonly int $counter, |
| 17 | - ) { |
|
| 17 | + ){ |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | public function intercept(CallContextInterface $context, HandlerInterface $handler): mixed |
| 21 | 21 | { |
| 22 | 22 | $this->result = []; |
| 23 | - for ($i = 0; $i < $this->counter; ++$i) { |
|
| 23 | + for ($i = 0; $i < $this->counter; ++$i){ |
|
| 24 | 24 | $this->result[] = $handler->handle($context); |
| 25 | 25 | } |
| 26 | 26 | |
@@ -20,7 +20,8 @@ |
||
| 20 | 20 | public function intercept(CallContextInterface $context, HandlerInterface $handler): mixed |
| 21 | 21 | { |
| 22 | 22 | $this->result = []; |
| 23 | - for ($i = 0; $i < $this->counter; ++$i) { |
|
| 23 | + for ($i = 0; $i < $this->counter; ++$i) |
|
| 24 | + { |
|
| 24 | 25 | $this->result[] = $handler->handle($context); |
| 25 | 26 | } |
| 26 | 27 | |