PluginProbe
Fluent Support – Helpdesk & Customer Support Ticket System / 2.4.5
Fluent Support – Helpdesk & Customer Support Ticket System v2.4.5
2.4.5 2.4.0 2.3.2 2.3.1 2.3.0 2.2.1 2.2.0 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.4.0 1.4.1 1.4.2 1.4.5 1.4.6 1.4.7 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 All 69 releases
← All changes | app/Services/ThirdParty/HandleSlackEvent.php +2 -5 2.2.0 → 2.4.5 View file →
@@ -9,9 +9,8 @@
9 9 class HandleSlackEvent
10 10 {
11 11
12 12 /**
13 - * handleEvent method is responsible for handling slack events
14 13 * @param string $token
15 14 * @return bool
16 15 * @throws Exception
17 16 */
@@ -28,11 +27,10 @@
28 27
29 28
30 29
31 30 /**
32 - * verifyProVersion method will check if the pro version is installed or not
33 31 * @throws Exception
34 - * @return boolean | Exception
32 + * @return bool
35 33 */
36 34 private function verifyProVersion ()
37 35 {
38 36 if (!defined('FLUENTSUPPORTPRO')) {
@@ -42,12 +40,11 @@
42 40 return true;
43 41 }
44 42
45 43 /**
46 - * validateToken method will check if the token is valid or not
47 44 * @param string $token
48 45 * @throws Exception
49 - * @return boolean | Exception
46 + * @return bool
50 47 */
51 48 private function validateToken ($token)
52 49 {
53 50 if (!hash_equals(\FluentSupportPro\App\Services\Integrations\Slack\SlackHelper::getWebhookToken(), $token)) {