Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
61 | 1 | protected function getPossibleErrors() |
|
62 | { |
||
63 | 1 | return array_merge(parent::getPossibleErrors(), [ |
|
64 | 1 | 'cant_update_message' => 'Authenticated user does not have permission to update this message', |
|
65 | 1 | 'edit_window_closed' => 'The message cannot be edited due to the team message edit settings', |
|
66 | 1 | 'msg_too_long' => 'Message text is too long', |
|
67 | 1 | 'no_text' => 'No message text provided', |
|
68 | 1 | ]); |
|
69 | } |
||
70 | } |
||
71 |