mirror of
https://github.com/rectorphp/rector.git
synced 2025-04-20 23:41:57 +02:00
Fixed Symfony Console getArgument() type
This commit is contained in:
parent
b77fa521c3
commit
bf0474fd1b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user