public static function isEqual(
        EqualityInterface $first = null,
        EqualityInterface $second = null
    ) {
        $result = false;

        if (null === $first) {
            $result = (null === $second) ? true : false;
        } else {
            $result = $first->equals($second);
        }

        return $result;
    }
public static function isEqual(
        EqualityInterface $first = null,
        EqualityInterface $second = null
    ) {
        $result = false;

        if (null === $first) {
            $result = (null === $second) ? true : false;
        } else {
            $result = $first->equals($second);
        }

        return $result;
    }
public static function isEqual ( EqualityInterface $ first = null , EqualityInterface $ second = null ) { $ result = false ; if ( null === $ first ) { $ result = ( null === $ second ) ? true : false ; } else { $ result = $ first -> equals ( $ second ) ; } return $ result ; }
Indicates whether the two specified objects are "equal".

@param EqualityInterface|null $first  The first reference object with
which to compare.
@param EqualityInterface|null $second The second reference object with
which to compare.

@return bool `true` if the two specified objects are the same; `false`
otherwise.
Indicates whether the two specified objects are equal .