@@ -135,10 +135,10 @@ discard block |
||
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 |
||
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 |