@@ -172,7 +172,7 @@ |
||
| 172 | 172 | $this->fuelChannel = $this->toDiscordChannel; |
| 173 | 173 | } |
| 174 | 174 | //Set timer for next key based on number of keys |
| 175 | - $nextKey = (1900 / (int)$this->numberOfKeys) + time(); |
|
| 175 | + $nextKey = (1900 / (int) $this->numberOfKeys) + time(); |
|
| 176 | 176 | $nextKeyTime = gmdate("Y-m-d H:i:s", $nextKey); |
| 177 | 177 | setPermCache("notificationsLastChecked", $nextKey); |
| 178 | 178 | //Set cache timer for api key |
@@ -146,7 +146,7 @@ |
||
| 146 | 146 | $cacheClr = $baseUnix - 13500; |
| 147 | 147 | |
| 148 | 148 | //Set timer for next key based on number of keys |
| 149 | - $nextKey = (1900 / (int)$this->numberOfKeys) + time(); |
|
| 149 | + $nextKey = (1900 / (int) $this->numberOfKeys) + time(); |
|
| 150 | 150 | $nextKeyTime = gmdate("Y-m-d H:i:s", $nextKey); |
| 151 | 151 | setPermCache("mailLastChecked", $nextKey); |
| 152 | 152 | |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | $roles = $member->roles; |
| 71 | 71 | foreach ($roles as $role) { |
| 72 | 72 | if (in_array($role->name, $adminRoles, true)) { |
| 73 | - $avatarURL = strtolower((string)$data['messageString']); |
|
| 73 | + $avatarURL = strtolower((string) $data['messageString']); |
|
| 74 | 74 | $ch = curl_init($avatarURL); |
| 75 | 75 | if (substr($avatarURL, -4) === '.jpg') { |
| 76 | 76 | $fp = fopen('/tmp/avatar.jpg', 'wb'); |