Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function __construct($message, $code, $propertyPath = null, $value, array $constraints = array()) |
||
12 | { |
||
13 | // @codingStandardsIgnoreEnd |
||
14 | if ($propertyPath !== null && strpos($message, $propertyPath) === false) { |
||
15 | $message = sprintf('Invalid argument given for "%s": %s', $propertyPath, $message); |
||
16 | } |
||
17 | |||
18 | parent::__construct($message, $code, $propertyPath, $value, $constraints); |
||
19 | } |
||
20 | } |
||
21 |