Passed
Push — master ( f94406...65d700 )
by Darko
06:38
created
Blacklight/Tmux.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     {
268 268
         $returnVal = shell_exec("which $cmd 2>/dev/null");
269 269
 
270
-        return ! empty($returnVal);
270
+        return !empty($returnVal);
271 271
     }
272 272
 
273 273
     /**
@@ -326,11 +326,11 @@  discard block
 block discarded – undo
326 326
 
327 327
             case 2:
328 328
                 $ppminString = $ppmaxString = '';
329
-                if (is_numeric($ppmax) && ! empty($ppmax)) {
329
+                if (is_numeric($ppmax) && !empty($ppmax)) {
330 330
                     $ppmax *= 1073741824;
331 331
                     $ppmaxString = "AND r.size < {$ppmax}";
332 332
                 }
333
-                if (is_numeric($ppmin) && ! empty($ppmin)) {
333
+                if (is_numeric($ppmin) && !empty($ppmin)) {
334 334
                     $ppmin *= 1048576;
335 335
                     $ppminString = "AND r.size > {$ppmin}";
336 336
                 }
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
             throw new \RuntimeException('Tmux\\\'s running flag was not found in the database.'.PHP_EOL.'Please check the tables are correctly setup.'.PHP_EOL);
389 389
         }
390 390
 
391
-        return ! ((int) $running->value === 0);
391
+        return !((int) $running->value === 0);
392 392
     }
393 393
 
394 394
     /**
@@ -414,7 +414,7 @@  discard block
 block discarded – undo
414 414
      */
415 415
     public function startRunning(): void
416 416
     {
417
-        if (! $this->isRunning()) {
417
+        if (!$this->isRunning()) {
418 418
             Settings::query()->where(['name' => 'running'])->update(['value' => 1]);
419 419
         }
420 420
     }
Please login to merge, or discard this patch.