src/Viserio/Component/Filesystem/Provider/FilesServiceProvider.php
public function getFactories(): array
    {
        return [
            FilesystemContract::class => static function (): Filesystem {
                return new Filesystem();
            },
            'files' => static function (ContainerInterface $container) {
                return $container->get(Filesystem::class);
            },
            Filesystem::class => static function (ContainerInterface $container) {
                return $container->get(FilesystemContract::class);
            },
        ];
    }
public function getFactories(): array
    {
        return [
            FilesystemContract::class => static function (): Filesystem {
                return new Filesystem();
            },
            'files' => static function (ContainerInterface $container) {
                return $container->get(Filesystem::class);
            },
            Filesystem::class => static function (ContainerInterface $container) {
                return $container->get(FilesystemContract::class);
            },
        ];
    }
{@inheritdoc}