Passed
Pull Request — main (#49)
by Dimitri
05:01
created
src/Config/Config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      */
157 157
     public function ghost(array|string $key, null|array|Schema $structure = null): static
158 158
     {
159
-		$schema = is_array($structure) ? Expect::mixed($structure) : $structure;
159
+        $schema = is_array($structure) ? Expect::mixed($structure) : $structure;
160 160
 
161 161
         $this->load($key, null, $schema, true);
162 162
 
Please login to merge, or discard this patch.
src/Cli/Console/Command.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -225,9 +225,9 @@  discard block
 block discarded – undo
225 225
      */
226 226
     final public function argument(string $name, mixed $default = null): mixed
227 227
     {
228
-		if (isset($this->_arguments[$name])) {
229
-			return $this->_arguments[$name];
230
-		}
228
+        if (isset($this->_arguments[$name])) {
229
+            return $this->_arguments[$name];
230
+        }
231 231
 
232 232
         return $this->_arguments[Text::camel($name)] ?? $default;
233 233
     }
@@ -245,9 +245,9 @@  discard block
 block discarded – undo
245 245
      */
246 246
     final public function option(string $name, mixed $default = null): mixed
247 247
     {
248
-		if (isset($this->_options[$name])) {
249
-			return $this->_options[$name];
250
-		}
248
+        if (isset($this->_options[$name])) {
249
+            return $this->_options[$name];
250
+        }
251 251
 
252 252
         return $this->_options[Text::camel($name)] ?? $default;
253 253
     }
@@ -267,9 +267,9 @@  discard block
 block discarded – undo
267 267
     {
268 268
         $params = array_merge($this->_arguments, $this->_options);
269 269
 
270
-		if (isset($params[$name])) {
271
-			return $params[$name];
272
-		}
270
+        if (isset($params[$name])) {
271
+            return $params[$name];
272
+        }
273 273
 
274 274
         return $params[Text::camel($name)] ?? $default;
275 275
     }
Please login to merge, or discard this patch.