mossadal/math-parser

View on GitHub
src/MathParser/Parsing/Nodes/Factories/SubtractionNodeFactory.php

Summary

Maintainability
A
1 hr
Test Coverage

Avoid too many return statements within this method.
Open

        return null;
Severity: Major
Found in src/MathParser/Parsing/Nodes/Factories/SubtractionNodeFactory.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return new IntegerNode($leftOperand->getValue() - $rightOperand->getValue());
    Severity: Major
    Found in src/MathParser/Parsing/Nodes/Factories/SubtractionNodeFactory.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return new ExpressionNode($operand, '-', null);
      Severity: Major
      Found in src/MathParser/Parsing/Nodes/Factories/SubtractionNodeFactory.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status