public function equals(Score $score): bool
    {
        if (null !== $this->scaled xor null !== $score->scaled) {
            return false;
        }

        if ((float) $this->scaled !== (float) $score->scaled) {
            return false;
        }

        if (null !== $this->raw xor null !== $score->raw) {
            return false;
        }

        if ((float) $this->raw !== (float) $score->raw) {
            return false;
        }

        if (null !== $this->min xor null !== $score->min) {
            return false;
        }

        if ((float) $this->min !== (float) $score->min) {
            return false;
        }

        if (null !== $this->max xor null !== $score->max) {
            return false;
        }

        if ((float) $this->max !== (float) $score->max) {
            return false;
        }

        return true;
    }
public function equals(Score $score): bool
    {
        if (null !== $this->scaled xor null !== $score->scaled) {
            return false;
        }

        if ((float) $this->scaled !== (float) $score->scaled) {
            return false;
        }

        if (null !== $this->raw xor null !== $score->raw) {
            return false;
        }

        if ((float) $this->raw !== (float) $score->raw) {
            return false;
        }

        if (null !== $this->min xor null !== $score->min) {
            return false;
        }

        if ((float) $this->min !== (float) $score->min) {
            return false;
        }

        if (null !== $this->max xor null !== $score->max) {
            return false;
        }

        if ((float) $this->max !== (float) $score->max) {
            return false;
        }

        return true;
    }
public function equals ( Score $ score ) : bool { if ( null !== $ this -> scaled xor null !== $ score -> scaled ) { return false ; } if ( ( float ) $ this -> scaled !== ( float ) $ score -> scaled ) { return false ; } if ( null !== $ this -> raw xor null !== $ score -> raw ) { return false ; } if ( ( float ) $ this -> raw !== ( float ) $ score -> raw ) { return false ; } if ( null !== $ this -> min xor null !== $ score -> min ) { return false ; } if ( ( float ) $ this -> min !== ( float ) $ score -> min ) { return false ; } if ( null !== $ this -> max xor null !== $ score -> max ) { return false ; } if ( ( float ) $ this -> max !== ( float ) $ score -> max ) { return false ; } return true ; }
Checks if another score is equal.

Two scores are equal if and only if all of their properties are equal.
Checks if another score is equal .