src/Mutator/Number/OneZeroFloat.php
public function mutate(Node $node)
    {
        if ($node->value === 0.0) {
            return new Node\Scalar\DNumber(1.0);
        }

        return new Node\Scalar\DNumber(0.0);
    }
public function mutate(Node $node)
    {
        if ($node->value === 0.0) {
            return new Node\Scalar\DNumber(1.0);
        }

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


@return Node\Scalar\DNumber
Replaces 0 . 0 with 1 . 0 or 1 . 0 with 0 . 0