Fixed Symfony Console getArgument() type

This commit is contained in:
Ondrej Mirtes 2020-01-06 09:44:00 +01:00
parent b77fa521c3
commit bf0474fd1b
No known key found for this signature in database
GPG Key ID: 8E730BA25823D8B5

View File

@ -106,6 +106,8 @@ final class ScreenFileCommand extends AbstractCommand
protected function execute(InputInterface $input, OutputInterface $output): int
{
// 1. load file
/** @var string $filePath */
$filePath = $input->getArgument(self::FILE_ARGUMENT);
$smartFileInfo = new SmartFileInfo($filePath);