| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | 1 | public function __construct(ResourceObject $resource, string $name, \Exception $previous = null) |
|
| 23 | { |
||
| 24 | 1 | $message = sprintf('Attribute "%s" already exists inside of [%s]. To set new one, the old one must be removed.', $name, $resource); |
|
| 25 | |||
| 26 | 1 | parent::__construct($message, 0, $previous); |
|
| 27 | } |
||
| 28 | } |