src/Viserio/Component/Filesystem/FilesystemAdapter.php
public function update(string $path, string $contents, array $config = []): bool
    {
        if (! $this->has($path)) {
            throw new FileNotFoundException($path);
        }

        $flyConfig = new FlyConfig($config);

        return $this->driver->update($path, $contents, $flyConfig) !== false;
    }
public function update(string $path, string $contents, array $config = []): bool
    {
        if (! $this->has($path)) {
            throw new FileNotFoundException($path);
        }

        $flyConfig = new FlyConfig($config);

        return $this->driver->update($path, $contents, $flyConfig) !== false;
    }
{@inheritdoc}