public static function renameTag(string $oldTag, string $newTag): int
    {
        return app(TagService::class)->renameTags($oldTag, $newTag, static::class);
    }
public static function renameTag(string $oldTag, string $newTag): int
    {
        return app(TagService::class)->renameTags($oldTag, $newTag, static::class);
    }
public static function renameTag ( string $ oldTag , string $ newTag ) : int { return app ( TagService :: class ) -> renameTags ( $ oldTag , $ newTag , static :: class ) ; }
Rename one the tags for the called class.

@param string $oldTag
@param string $newTag

@return int
Rename one the tags for the called class .