public static function dropRoutine(string $routineType, string $routineName): void
  {
    $query = sprintf('drop %s if exists `%s`', $routineType, $routineName);

    self::executeNone($query);
  }
public static function dropRoutine(string $routineType, string $routineName): void
  {
    $query = sprintf('drop %s if exists `%s`', $routineType, $routineName);

    self::executeNone($query);
  }
public static function dropRoutine ( string $ routineType , string $ routineName ) : void { $ query = sprintf ( 'drop %s if exists `%s`' , $ routineType , $ routineName ) ; self :: executeNone ( $ query ) ; }
Drops a routine if it exists.

@param string $routineType The type of the routine (function of procedure).
@param string $routineName The name of the routine.
Drops a routine if it exists .