Conditions | 2 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
28 | public function __construct( |
||
29 | EntityId $entityId, |
||
30 | array $languageCodes, |
||
31 | $message = null, |
||
32 | Exception $previous = null |
||
33 | ) { |
||
34 | $this->entityId = $entityId; |
||
35 | |||
36 | $codesString = implode( ', ', $languageCodes ); |
||
37 | |||
38 | parent::__construct( |
||
39 | $message ?: 'Term lookup failed for: ' . $entityId . ' with language codes: ' . $codesString, |
||
40 | 0, |
||
41 | $previous |
||
42 | ); |
||
43 | } |
||
44 | |||
53 |