src/Viserio/Provider/Twig/Command/LintCommand.php
protected function getFinder(array $paths, string $file = null): iterable
    {
        return Finder::create()
            ->files()
            ->in($paths)
            ->name(($file === null ? '*.' : $file . '.') . $this->resolvedOptions['engines']['twig']['file_extension'])
            ->getIterator();
    }
protected function getFinder(array $paths, string $file = null): iterable
    {
        return Finder::create()
            ->files()
            ->in($paths)
            ->name(($file === null ? '*.' : $file . '.') . $this->resolvedOptions['engines']['twig']['file_extension'])
            ->getIterator();
    }
{@inheritdoc}