chippyash/Strong-Type

View on GitHub
src/Chippyash/Type/Number/Complex/GMPComplexType.php

Summary

Maintainability
A
0 mins
Test Coverage

Method modulus has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public function modulus()
    {
        if ($this->isReal()) {
            //sqrt(r^2 + 0^2) = sqrt(r^2) = abs(r)
            /** @noinspection PhpUndefinedMethodInspection */
Severity: Minor
Found in src/Chippyash/Type/Number/Complex/GMPComplexType.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status