Passed
Branch dev (b818b3)
by Kris
01:43
created
src/UtilsTrait.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected static function inArguments(array $arguments, string $shortArg, string $longArg)
92 92
     {
93
-          return array_key_exists($shortArg, $arguments) || array_key_exists($longArg, $arguments);
93
+            return array_key_exists($shortArg, $arguments) || array_key_exists($longArg, $arguments);
94 94
     }
95 95
 
96 96
     /** 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      * @param string    $filePath       The file's full path
102 102
      * @param bool      $throwError     Throw error on true or silent process. Default is true
103 103
      *  
104
-	 * @return object|null 
104
+     * @return object|null 
105 105
      * @throws \Exception
106 106
      * @throws \LogicException
107 107
      */
@@ -109,10 +109,10 @@  discard block
 block discarded – undo
109 109
     {
110 110
         // check file exists
111 111
         if (!file_exists($filePath) || !is_file($filePath)){
112
-           if ($throwError) {
112
+            if ($throwError) {
113 113
                 throw new \Exception('Config file not found');
114
-           }
115
-           return null;  
114
+            }
115
+            return null;  
116 116
         }
117 117
 
118 118
         // get and parse content
Please login to merge, or discard this patch.
src/ShellErrorHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -386,7 +386,7 @@
 block discarded – undo
386 386
      */
387 387
     protected static function getNumericParameter(array $arguments, string $shortArg, string $longArg, int $defaultValue)
388 388
     {
389
-         if (self::inArguments($arguments,$shortArg, $longArg)){
389
+            if (self::inArguments($arguments,$shortArg, $longArg)){
390 390
             $val = self::getArgumentValue($arguments,$shortArg, $longArg);
391 391
 
392 392
             if (!is_numeric($val)){
Please login to merge, or discard this patch.