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