Skip to content

Commit

Permalink
Dev: change the return type.
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-yee committed Aug 7, 2023
1 parent 31a83ed commit 25248a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system/Honeypot/Exceptions/HoneypotException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -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()
{
Expand All @@ -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()
{
Expand All @@ -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()
{
Expand Down

0 comments on commit 25248a5

Please sign in to comment.