Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
26 | 6 | public function __construct(Attribute $definition, $value) |
|
27 | { |
||
28 | 6 | $this->definition = $definition; |
|
29 | |||
30 | 6 | $message = sprintf( |
|
31 | 6 | 'Attribute "%s" declared as many (an iterable container) contains %s which cannot be iterated.', |
|
32 | 6 | $definition->getName(), |
|
33 | 6 | $this->resolveTypeDescription($value) |
|
34 | ); |
||
35 | |||
36 | 6 | parent::__construct($message); |
|
37 | 6 | } |
|
38 | |||
69 | } |