Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
25 | 2 | public function __construct(Attribute $definition) |
|
26 | { |
||
27 | 2 | $this->definition = $definition; |
|
28 | |||
29 | 2 | $message = sprintf( |
|
30 | 2 | 'Unable to process unknown data-type "%s" of attribute "%s"', |
|
31 | 2 | $definition->getType(), |
|
32 | 2 | $definition->getName() |
|
33 | ); |
||
34 | |||
35 | 2 | parent::__construct($message); |
|
36 | 2 | } |
|
37 | |||
47 | } |