| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | 2 | public function __invoke(callable $handler): callable |
|
| 34 | { |
||
| 35 | return function(RequestInterface $request, array $options) use ($handler) { |
||
| 36 | 2 | return $handler( |
|
| 37 | 2 | $this->sapient->signRequest($request, new SigningSecretKey(Base64UrlSafe::decode($this->signPrivateKey))), |
|
| 38 | 2 | $options |
|
| 39 | ); |
||
| 43 |