PHPSemVerChecker\Comparator\Type::isSame PHP Method

isSame() public static method

public static isSame ( Name | string | null $typeA, Name | string | null $typeB ) : boolean
$typeA PhpParser\Node\Name | string | null
$typeB PhpParser\Node\Name | string | null
return boolean
    public static function isSame($typeA, $typeB)
    {
        $typeA = self::get($typeA);
        $typeB = self::get($typeB);
        return $typeA === $typeB;
    }