Completed
Push — master ( 7106b9...4aeb0e )
by Greg
06:35
created
src/Runner.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     public function __construct($roboClass = null, $roboFile = null)
48 48
     {
49 49
         // set the const as class properties to allow overwriting in child classes
50
-        $this->roboClass = $roboClass ? $roboClass : self::ROBOCLASS ;
50
+        $this->roboClass = $roboClass ? $roboClass : self::ROBOCLASS;
51 51
         $this->roboFile  = $roboFile ? $roboFile : self::ROBOFILE;
52 52
         $this->dir = getcwd();
53 53
     }
@@ -371,9 +371,9 @@  discard block
 block discarded – undo
371 371
 
372 372
         if (substr($argv[$pos], 0, 12) == '--load-from=') {
373 373
             $this->dir = substr($argv[$pos], 12);
374
-        } elseif (isset($argv[$pos +1])) {
375
-            $this->dir = $argv[$pos +1];
376
-            unset($argv[$pos +1]);
374
+        } elseif (isset($argv[$pos + 1])) {
375
+            $this->dir = $argv[$pos + 1];
376
+            unset($argv[$pos + 1]);
377 377
         }
378 378
         unset($argv[$pos]);
379 379
         // Make adjustments if '--load-from' points at a file.
Please login to merge, or discard this patch.