src/Mutator/Number/OneZeroInteger.php
public function mutate(Node $node)
    {
        if ($node->value === 0) {
            return new Node\Scalar\LNumber(1);
        }

        return new Node\Scalar\LNumber(0);
    }
public function mutate(Node $node)
    {
        if ($node->value === 0) {
            return new Node\Scalar\LNumber(1);
        }

        return new Node\Scalar\LNumber(0);
    }
public function mutate ( Node $ node ) { if ( $ node -> value === 0 ) { return new Node \ Scalar \ LNumber ( 1 ) ; } return new Node \ Scalar \ LNumber ( 0 ) ; }
Replaces "0" with "1" or "1" with "0"


@return Node\Scalar\LNumber
Replaces 0 with 1 or 1 with 0