| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function __construct($duplicateValue, string $duplicateName, string $arrayName) |
||
| 35 | { |
||
| 36 | $this->duplicateValue = $duplicateValue; |
||
| 37 | $this->duplicateName = $duplicateName; |
||
| 38 | $this->arrayName = $arrayName; |
||
| 39 | |||
| 40 | $message = "The $duplicateName $duplicateValue occurs twice in $arrayName"; |
||
| 41 | parent::__construct($message, 409); |
||
| 42 | } |
||
| 43 | //</editor-fold desc="Constructor"> |
||
| 59 | } |