mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-11-16 16:30:09 +00:00
Add proper types to CommandTrigger
This commit is contained in:
parent
4d6260a079
commit
dee22a8547
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user