src/Viserio/Component/Filesystem/FilesystemAdapter.php
public function read(string $path)
    {
        if (! $this->has($path)) {
            throw new FileNotFoundException($path);
        }

        $content = $this->driver->read($path);

        if ($content !== false) {
            return $content['contents'];
        }

        return false;
    }
public function read(string $path)
    {
        if (! $this->has($path)) {
            throw new FileNotFoundException($path);
        }

        $content = $this->driver->read($path);

        if ($content !== false) {
            return $content['contents'];
        }

        return false;
    }
{@inheritdoc}