@@ -97,7 +97,7 @@ |
||
| 97 | 97 | //Crest |
| 98 | 98 | $crestData = json_decode(downloadData('https://crest-tq.eveonline.com/'), true); |
| 99 | 99 | $crestStatus = isset($crestData['serviceStatus']) ? $crestData['serviceStatus'] : 'offline'; |
| 100 | - $tqOnline = (int)$crestData['userCount']; |
|
| 100 | + $tqOnline = (int) $crestData['userCount']; |
|
| 101 | 101 | |
| 102 | 102 | if (!isset($xml->result)) { |
| 103 | 103 | $this->logger->addInfo('statusCheck: TQ Status check canceled, API Error.'); |
@@ -92,7 +92,7 @@ |
||
| 92 | 92 | */ |
| 93 | 93 | function onMessage($msgData, $message) |
| 94 | 94 | { |
| 95 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 95 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 96 | 96 | |
| 97 | 97 | if (in_array($channelID, $this->excludeChannel, true)) { |
| 98 | 98 | return null; |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | { |
| 77 | 77 | $this->message = $message; |
| 78 | 78 | $info['guilds'] = $this->discord->guilds->count(); |
| 79 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 79 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 80 | 80 | |
| 81 | 81 | if (in_array($channelID, $this->excludeChannel, true)) |
| 82 | 82 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | */ |
| 73 | 73 | function onMessage($msgData, $message) |
| 74 | 74 | { |
| 75 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 75 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 76 | 76 | |
| 77 | 77 | if (in_array($channelID, $this->excludeChannel, true)) |
| 78 | 78 | { |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | { |
| 89 | 89 | $this->message = $message; |
| 90 | 90 | $user = $msgData['message']['from']; |
| 91 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 91 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 92 | 92 | |
| 93 | 93 | if (in_array($channelID, $this->excludeChannel, true)) |
| 94 | 94 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | function onMessage($msgData, $message) |
| 72 | 72 | { |
| 73 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 73 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 74 | 74 | |
| 75 | 75 | if (in_array($channelID, $this->excludeChannel, true)) |
| 76 | 76 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | $crestData = json_decode(downloadData('https://crest-tq.eveonline.com/'), true); |
| 89 | 89 | |
| 90 | 90 | $tqStatus = isset($crestData['serviceStatus']) ? $crestData['serviceStatus'] : 'offline'; |
| 91 | - $tqOnline = (int)$crestData['userCount']; |
|
| 91 | + $tqOnline = (int) $crestData['userCount']; |
|
| 92 | 92 | |
| 93 | 93 | $msg = "**TQ Status:** {$tqStatus} with {$tqOnline} users online."; |
| 94 | 94 | $this->logger->addInfo("eveStatus: Sending eve status info to {$user}"); |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | */ |
| 71 | 71 | function onMessage($msgData, $message) |
| 72 | 72 | { |
| 73 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 73 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 74 | 74 | |
| 75 | 75 | if (in_array($channelID, $this->excludeChannel, true)) |
| 76 | 76 | { |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | */ |
| 92 | 92 | function onMessage($msgData, $message) |
| 93 | 93 | { |
| 94 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 94 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 95 | 95 | |
| 96 | 96 | if (in_array($channelID, $this->excludeChannel, true)) |
| 97 | 97 | { |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | */ |
| 73 | 73 | function onMessage($msgData, $message) |
| 74 | 74 | { |
| 75 | - $channelID = (int)$msgData['message']['channelID']; |
|
| 75 | + $channelID = (int) $msgData['message']['channelID']; |
|
| 76 | 76 | |
| 77 | 77 | if (in_array($channelID, $this->excludeChannel, true)) |
| 78 | 78 | { |