Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | 5 | public function __construct( |
|
12 | public readonly RequestInterface $request, |
||
13 | Throwable $previous = null |
||
14 | ) { |
||
15 | 5 | $message = sprintf( |
|
16 | 5 | 'API operation for request [%s] %s hasn\'t been found.', |
|
17 | 5 | $request->getMethod(), |
|
18 | 5 | $request->getUri() |
|
19 | 5 | ); |
|
20 | |||
21 | 5 | parent::__construct($message, 0, $previous); |
|
22 | } |
||
24 |