Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class SentryMiddleware implements MiddlewareInterface |
||
19 | { |
||
20 | private HubInterface $hub; |
||
21 | |||
22 | 2 | public function __construct(HubInterface $hub) |
|
23 | { |
||
24 | 2 | $this->hub = $hub; |
|
25 | } |
||
26 | |||
27 | 2 | public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
34 | } |
||
35 | } |
||
37 |