Passed
Push — master ( 567a82...0a2149 )
by Timm
01:53
created
src/Stefaminator/Cli/Cmd.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,10 +135,10 @@  discard block
 block discarded – undo
135 135
      */
136 136
     private function fillOptionCollection(OptionCollection $collection, string $spec, array $config): void {
137 137
 
138
-        $opt = $collection->add($spec, $config['description']??'');
138
+        $opt = $collection->add($spec, $config['description'] ?? '');
139 139
 
140 140
         if (array_key_exists('isa', $config)) {
141
-            if(array_key_exists('regex', $config) && strtolower($config['isa']) === 'regex') {
141
+            if (array_key_exists('regex', $config) && strtolower($config['isa']) === 'regex') {
142 142
                 $opt->isa('regex', $config['regex']);
143 143
             } else {
144 144
                 $opt->isa($config['isa']);
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
         echo self::EOL;
256 256
     }
257 257
 
258
-    public static function echo(string $str, ?string $foreground_color = null): void {
258
+    public static function echo(string $str, ?string $foreground_color = null) : void {
259 259
 
260 260
         $lines = preg_split("/\r\n|\n|\r/", $str);
261 261
 
Please login to merge, or discard this patch.