@@ -86,7 +86,7 @@ |
||
| 86 | 86 | */ |
| 87 | 87 | public function sortArrayByLength(array $array) |
| 88 | 88 | { |
| 89 | - usort($array, function ($array1, $array2) { |
|
| 89 | + usort($array, function($array1, $array2) { |
|
| 90 | 90 | return strlen($array2) <=> strlen($array1); |
| 91 | 91 | }); |
| 92 | 92 | |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | { |
| 14 | 14 | const KEY = 'event'; |
| 15 | 15 | const MISSING_TOKEN_OR_APP_ID_MESSAGE = 'Token or api_app_id is not provided'; |
| 16 | - const MISSING_APP_ID_MESSAGE = 'Api app id must be provided'; |
|
| 16 | + const MISSING_APP_ID_MESSAGE = 'Api app id must be provided'; |
|
| 17 | 17 | const MISSING_VERIFICATION_TOKEN_MESSAGE = 'Verification token must be provided'; |
| 18 | 18 | const MISSING_EVENT_TYPE_MESSAGE = 'Event type must be specified'; |
| 19 | 19 | |