src/Viserio/Component/Filesystem/Filesystem.php
public function setVisibility(string $path, string $visibility): bool
    {
        $visibility = $this->parseVisibility($path, $visibility) ?: 0777;

        try {
            $this->chmod($path, $visibility);
        } catch (SymfonyIOException $exception) {
            return false;
        }

        return true;
    }
public function setVisibility(string $path, string $visibility): bool
    {
        $visibility = $this->parseVisibility($path, $visibility) ?: 0777;

        try {
            $this->chmod($path, $visibility);
        } catch (SymfonyIOException $exception) {
            return false;
        }

        return true;
    }
{@inheritdoc}