refactoring
This commit is contained in:
parent
356837b136
commit
75c369c77c
|
@ -42,9 +42,7 @@ class CheckCommand extends BaseCommand
|
|||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$domains = explode(',', $input->getArgument('domains'));
|
||||
$domains = array_map(function ($v) {
|
||||
return trim($v);
|
||||
}, $domains);
|
||||
$domains = array_map('trim', $domains);
|
||||
|
||||
sort($domains);
|
||||
|
||||
|
|
Loading…
Reference in a new issue