Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
58 | private static function getNotFoundMessage($itemType, $itemName) |
||
59 | { |
||
60 | if (in_array($itemType, self::$itemTypes)) { |
||
61 | return 'The trello '.$itemType.' named '.$itemName.' could not be found.'; |
||
62 | } |
||
63 | |||
64 | throw new \Exception('The declare Trello item type does not match any known type.'); |
||
65 | } |
||
66 | |||
83 |