Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function __construct($format, $data, $validFormats) |
||
12 | { |
||
13 | $dataDescription = static::describeDataType($data); |
||
14 | $message = "The format $format cannot be used with the data produced by this command, which was $dataDescription. Valid formats are: " . implode(',', $validFormats); |
||
15 | parent::__construct($message, 1); |
||
16 | } |
||
17 | } |
||
18 |