Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
48 | 1 | protected function getPossibleErrors() |
|
49 | { |
||
50 | 1 | return array_merge(parent::getPossibleErrors(), [ |
|
51 | 1 | 'message_not_found' => 'No message exists with the requested timestamp', |
|
52 | 1 | 'cant_delete_message' => 'Authenticated user does not have permission to delete this message', |
|
53 | 1 | ]); |
|
54 | } |
||
55 | } |
||
56 |