Skip to content

Commit

Permalink
Fix psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lstrojny committed Oct 2, 2020
1 parent cce7dde commit 0ea490a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/LogfileCommand.php
Expand Up @@ -179,8 +179,8 @@ private function getFiles(InputInterface $input): iterable
$logDir = $input->getOption('log-dir');
if (is_string($logDir)) {
$dirFinder = Finder::create()->in($logDir);
array_map([$dirFinder, 'name'], array_filter((array)$input->getOption('include'), 'is_string'));
array_map([$dirFinder, 'notName'], array_filter((array)$input->getOption('exclude'), 'is_string'));
array_map([$dirFinder, 'name'], array_map('strval', (array)$input->getOption('include')));
array_map([$dirFinder, 'notName'], array_map('strval', (array)$input->getOption('exclude')));

$finder->append($dirFinder);
}
Expand Down

0 comments on commit 0ea490a

Please sign in to comment.