| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | 1 | public function __invoke(ContainerInterface $container): SenderInterface |
|
| 16 | { |
||
| 17 | /** @var Raven_Client $client */ |
||
| 18 | 1 | $client = $container->get(Raven_Client::class); |
|
| 19 | /** @var SanitizerInterface $sanitizer */ |
||
| 20 | 1 | $sanitizer = $container->get(SanitizerInterface::class); |
|
| 21 | /** @var StackTraceInterface $stackTrace */ |
||
| 22 | 1 | $stackTrace = $container->get(StackTraceInterface::class); |
|
| 23 | |||
| 24 | 1 | return new Sender($client, $sanitizer, $stackTrace); |
|
| 25 | } |
||
| 26 | } |
||
| 27 |