Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | 1 | public static function wrongTypesArgumentCount(string $statement, int $parameters, int $types) : self |
|
14 | { |
||
15 | 1 | return new self(sprintf( |
|
16 | 1 | 'The number of types (%s) is higher than the number of passed parameters (%s) for the query "%s".', |
|
17 | 1 | $types, |
|
18 | 1 | $parameters, |
|
19 | 1 | $statement |
|
20 | )); |
||
23 |