Passed
Pull Request — master (#2)
by Tim
04:28
created
lib/MemcacheMonitor.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -130,9 +130,9 @@  discard block
 block discarded – undo
130 130
             $maxpix = 400;
131 131
             foreach ($statsraw['bytes'] as $key => $row_data) {
132 132
                 $pix = floor($statsraw['bytes'][$key] * $maxpix / $statsraw['limit_maxbytes'][$key]);
133
-                $usage[$key] = $pix . 'px';
133
+                $usage[$key] = $pix.'px';
134 134
             }
135
-            $t->data['maxpix'] = $maxpix . 'px';
135
+            $t->data['maxpix'] = $maxpix.'px';
136 136
             $t->data['usage'] = $usage;
137 137
         }
138 138
 
@@ -163,18 +163,18 @@  discard block
 block discarded – undo
163 163
     private function hours(int $input): string
164 164
     {
165 165
         if ($input < 60) {
166
-            return number_format($input, 2) . ' sec';
166
+            return number_format($input, 2).' sec';
167 167
         }
168 168
 
169 169
         if ($input < 60 * 60) {
170
-            return number_format(($input / 60), 2) . ' min';
170
+            return number_format(($input / 60), 2).' min';
171 171
         }
172 172
 
173 173
         if ($input < 24 * 60 * 60) {
174
-            return number_format(($input / (60 * 60)), 2) . ' hours';
174
+            return number_format(($input / (60 * 60)), 2).' hours';
175 175
         }
176 176
 
177
-        return number_format($input / (24 * 60 * 60), 2) . ' days';
177
+        return number_format($input / (24 * 60 * 60), 2).' days';
178 178
     }
179 179
 
180 180
 
Please login to merge, or discard this patch.