Skip to content

Commit 39d09d9

Browse files
committed
Dev: change the return type for the honeypot exception.
1 parent 26d7b48 commit 39d09d9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

system/Honeypot/Exceptions/HoneypotException.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@
1616

1717
class HoneypotException extends ConfigException implements ExceptionInterface
1818
{
19-
public static function forNoTemplate(): HoneypotException
19+
public static function forNoTemplate(): self
2020
{
2121
return new static(lang('Honeypot.noTemplate'));
2222
}
2323

24-
public static function forNoNameField(): HoneypotException
24+
public static function forNoNameField(): self
2525
{
2626
return new static(lang('Honeypot.noNameField'));
2727
}
2828

29-
public static function forNoHiddenValue(): HoneypotException
29+
public static function forNoHiddenValue(): self
3030
{
3131
return new static(lang('Honeypot.noHiddenValue'));
3232
}
3333

34-
public static function isBot(): HoneypotException
34+
public static function isBot(): self
3535
{
3636
return new static(lang('Honeypot.theClientIsABot'));
3737
}

0 commit comments

Comments
 (0)