@@ -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 | |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | class EventListener extends AbstractBaseListener |
| 12 | 12 | { |
| 13 | 13 | const MISSING_TOKEN_OR_APP_ID_MESSAGE = 'Token or api_app_id is not provided'; |
| 14 | - const MISSING_APP_ID_MESSAGE = 'Api app id must be provided'; |
|
| 14 | + const MISSING_APP_ID_MESSAGE = 'Api app id must be provided'; |
|
| 15 | 15 | const MISSING_VERIFICATION_TOKEN_MESSAGE = 'Verification token must be provided'; |
| 16 | 16 | const MISSING_EVENT_TYPE = 'Event type must be specified'; |
| 17 | 17 | |