@@ -116,14 +116,14 @@ 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); |
| 123 | 123 | continue; |
| 124 | 124 | } |
| 125 | 125 | //Check for a multiple of 50 in the difference |
| 126 | - if ((int)$gooDifference % 50 !== 0) { |
|
| 126 | + if ((int) $gooDifference % 50 !== 0) { |
|
| 127 | 127 | $gooType = apiTypeName($silo->attributes()->typeID); |
| 128 | 128 | $systemName = systemName($structures->attributes()->locationID); |
| 129 | 129 | $msg = "{$siphonCorp['prefix']}"; |
@@ -148,14 +148,14 @@ 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); |
| 155 | 155 | continue; |
| 156 | 156 | } |
| 157 | 157 | //Check for a multiple of 50 in the difference |
| 158 | - if ((int)$gooDifference % 50 !== 0) { |
|
| 158 | + if ((int) $gooDifference % 50 !== 0) { |
|
| 159 | 159 | $gooType = apiTypeName($coupling->attributes()->typeID); |
| 160 | 160 | $systemName = systemName($structures->attributes()->locationID); |
| 161 | 161 | $msg = "{$siphonCorp['prefix']}"; |