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