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

        $flags = $config['flags'] ?? 0;

        return \is_int(@\file_put_contents($path, $contents, $flags));
    }
public function update(string $path, string $contents, array $config = []): bool
    {
        if (! $this->exists($path)) {
            throw new FileNotFoundException($path);
        }

        $flags = $config['flags'] ?? 0;

        return \is_int(@\file_put_contents($path, $contents, $flags));
    }
{@inheritdoc}