src/Map.php
private function keysAreEqual($a, $b): bool
    {
        if (is_object($a) && $a instanceof Hashable) {
            return get_class($a) === get_class($b) && $a->equals($b);
        }

        return $a === $b;
    }
private function keysAreEqual($a, $b): bool
    {
        if (is_object($a) && $a instanceof Hashable) {
            return get_class($a) === get_class($b) && $a->equals($b);
        }

        return $a === $b;
    }
private function keysAreEqual ( $ a , $ b ) : bool { if ( is_object ( $ a ) && $ a instanceof Hashable ) { return get_class ( $ a ) === get_class ( $ b ) && $ a -> equals ( $ b ) ; } return $ a === $ b ; }
Determines whether two keys are equal.

@param mixed $a
@param mixed $b

@return bool
Determines whether two keys are equal .