From 990b1ac24fccc8ed4db277a7521fd0eac30061ca Mon Sep 17 00:00:00 2001 From: "Matt H." Date: Wed, 6 Nov 2024 16:14:45 -0500 Subject: [PATCH] Add return data type to `EmailLog::getMessageTypes()` --- application/common/models/EmailLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/models/EmailLog.php b/application/common/models/EmailLog.php index 1a436870..9b8a98cc 100644 --- a/application/common/models/EmailLog.php +++ b/application/common/models/EmailLog.php @@ -47,7 +47,7 @@ public function attributeLabels() ]); } - public static function getMessageTypes() + public static function getMessageTypes(): array { $reflectionClass = new ReflectionClass(__CLASS__); $messageTypes = [];