From 25248a5c41ea3334d4e23d5b72caac156fa64600 Mon Sep 17 00:00:00 2001 From: ping-yee <611077101@mail.nknu.edu.tw> Date: Fri, 4 Aug 2023 20:43:03 +0800 Subject: [PATCH] Dev: change the return type. --- system/Honeypot/Exceptions/HoneypotException.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/Honeypot/Exceptions/HoneypotException.php b/system/Honeypot/Exceptions/HoneypotException.php index 2aeb44930901..31d13151e980 100644 --- a/system/Honeypot/Exceptions/HoneypotException.php +++ b/system/Honeypot/Exceptions/HoneypotException.php @@ -19,7 +19,7 @@ class HoneypotException extends ConfigException implements ExceptionInterface /** * Thrown when the template value of config is empty. * - * @return self + * @return static */ public static function forNoTemplate() { @@ -29,7 +29,7 @@ public static function forNoTemplate() /** * Thrown when the name value of config is empty. * - * @return self + * @return static */ public static function forNoNameField() { @@ -39,7 +39,7 @@ public static function forNoNameField() /** * Thrown when the hidden value of config is false. * - * @return self + * @return static */ public static function forNoHiddenValue() { @@ -49,7 +49,7 @@ public static function forNoHiddenValue() /** * Thrown when there are no data in the request of honeypot field. * - * @return self + * @return static */ public static function isBot() {