diff --git a/files/lib/data/command/CommandTrigger.class.php b/files/lib/data/command/CommandTrigger.class.php index 8e8439a..f3ed406 100644 --- a/files/lib/data/command/CommandTrigger.class.php +++ b/files/lib/data/command/CommandTrigger.class.php @@ -43,10 +43,9 @@ class CommandTrigger extends DatabaseObject implements IRouteController /** * Returns the trigger specified by its commandTrigger value * - * @param string $name * @return CommandTrigger */ - public static function getTriggerByName($name) + public static function getTriggerByName(string $name) { $sql = "SELECT * FROM chat1_command_trigger