| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare (strict_types=1); |
||
| 28 | public function fire($job, $data) |
||
|
|
|||
| 29 | { |
||
| 30 | $event = call_user_func( |
||
| 31 | [ |
||
| 32 | str_replace('.', '\\', $data['event']['class']), |
||
| 33 | 'deserialize' |
||
| 34 | ], |
||
| 35 | $data['event']['payload'] |
||
| 36 | ); |
||
| 37 | |||
| 38 | $this->container->make($data['listener_class'])->{$data['listener_method']}($event); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.