Conditions | 2 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 1 | public function __construct($input, DataMapperInterface $dataMapper) |
|
19 | { |
||
20 | 1 | $message = sprintf( |
|
21 | 1 | 'DataMapper "%s" does not support input type "%s"', |
|
22 | get_class($dataMapper), |
||
23 | 1 | is_object($input) ? get_class($input) : gettype($input) |
|
24 | ); |
||
25 | |||
26 | 1 | parent::__construct($message); |
|
27 | 1 | } |
|
28 | } |
||
29 |