Passed
Pull Request — master (#133)
by Bob
02:25
created
src/plugins/onTick/siphons.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/plugins/onTick/periodicStatusCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.