src/Logic/OrX.php
public function toString()
    {
        return implode(' || ', array_map(function (Expression $disjunct) {
            return $disjunct instanceof AndX ? '('.$disjunct->toString().')' : $disjunct->toString();
        }, $this->disjuncts));
    }
public function toString()
    {
        return implode(' || ', array_map(function (Expression $disjunct) {
            return $disjunct instanceof AndX ? '('.$disjunct->toString().')' : $disjunct->toString();
        }, $this->disjuncts));
    }
{@inheritdoc}