| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 1 | public function dispatch(object $event): object |
|
| 18 | { |
||
| 19 | 1 | /** @psalm-var array{file: string, line: int} $callStack */ |
|
| 20 | $callStack = debug_backtrace()[0]; |
||
| 21 | 1 | ||
| 22 | $this->collector->collect($event, $callStack['file'] . ':' . $callStack['line']); |
||
| 23 | 1 | ||
| 24 | return $this->dispatcher->dispatch($event); |
||
| 25 | } |
||
| 27 |