Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
10 | final class IndefiniteQueryException extends RuntimeException implements ExceptionInterface |
||
11 | { |
||
12 | |||
13 | private $query; |
||
14 | |||
15 | 5 | public function __construct(QueryInterface $query, Throwable $previous = null) |
|
16 | { |
||
17 | 5 | $this->query = $query; |
|
18 | 5 | parent::__construct("Query is indefinite", 0, $previous); |
|
19 | 5 | } |
|
20 | |||
21 | 1 | public function getQuery(): QueryInterface |
|
24 | } |
||
25 | } |
||
26 |