| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class UnsealResponseMiddleware |
||
| 13 | { |
||
| 14 | private $sapient; |
||
| 15 | private $privateKey; |
||
| 16 | |||
| 17 | 2 | public function __construct(Sapient $sapient, string $privateKey) |
|
| 18 | { |
||
| 19 | 2 | $this->sapient = $sapient; |
|
| 20 | 2 | $this->privateKey = $privateKey; |
|
| 21 | 2 | } |
|
| 22 | |||
| 23 | 2 | public function __invoke(callable $handler) |
|
| 34 | 2 | } |
|
| 35 | ); |
||
| 39 |