1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Add proper types to CommandTrigger

This commit is contained in:
Tim Düsterhus 2022-03-04 18:48:05 +01:00
parent 4d6260a079
commit dee22a8547
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF

View File

@ -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