From dee22a85477f05aae06c96d354d0d9e848c8d96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 4 Mar 2022 18:48:05 +0100 Subject: [PATCH] Add proper types to CommandTrigger --- files/lib/data/command/CommandTrigger.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 @@ public function getObjectID() /** * 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