@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | $siloID = $structures->attributes()->itemID; |
| 117 | 117 | $lastAmount = getPermCache("silo{$siloID}Amount"); |
| 118 | 118 | $gooAmount = $silo->attributes()->quantity; |
| 119 | - $gooDifference = (int)$gooAmount - (int)$lastAmount; |
|
| 119 | + $gooDifference = (int) $gooAmount - (int) $lastAmount; |
|
| 120 | 120 | //Check if silo has been checked before |
| 121 | 121 | if (null === $lastAmount || $gooDifference < 0) { |
| 122 | 122 | setPermCache("silo{$siloID}Amount", $gooAmount); |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | $couplingID = $structures->attributes()->itemID; |
| 149 | 149 | $lastAmount = getPermCache("couplingArray{$couplingID}Amount"); |
| 150 | 150 | $gooAmount = $coupling->attributes()->quantity; |
| 151 | - $gooDifference = (int)$gooAmount - (int)$lastAmount; |
|
| 151 | + $gooDifference = (int) $gooAmount - (int) $lastAmount; |
|
| 152 | 152 | //Check if silo has been checked before |
| 153 | 153 | if (null === $lastAmount || $gooDifference < 0) { |
| 154 | 154 | setPermCache("couplingArray{$couplingID}Amount", $gooAmount); |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | //Crest |
| 81 | 81 | $crestData = json_decode(downloadData('https://crest-tq.eveonline.com/'), true); |
| 82 | 82 | $crestStatus = isset($crestData['serviceStatus']) ? $crestData['serviceStatus'] : 'offline'; |
| 83 | - $tqOnline = (int)@$crestData['userCount']; |
|
| 83 | + $tqOnline = (int) @$crestData['userCount']; |
|
| 84 | 84 | |
| 85 | 85 | if ($lastStatus === $crestStatus) { |
| 86 | 86 | // No change |