File tree Expand file tree Collapse file tree
system/Honeypot/Exceptions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717class HoneypotException extends ConfigException implements ExceptionInterface
1818{
19- public static function forNoTemplate (): self
19+ /**
20+ * Thrown when the template value of config is empty.
21+ *
22+ * @return self
23+ */
24+ public static function forNoTemplate ()
2025 {
2126 return new static (lang ('Honeypot.noTemplate ' ));
2227 }
2328
24- public static function forNoNameField (): self
29+ /**
30+ * Thrown when the name value of config is empty.
31+ *
32+ * @return self
33+ */
34+ public static function forNoNameField ()
2535 {
2636 return new static (lang ('Honeypot.noNameField ' ));
2737 }
2838
29- public static function forNoHiddenValue (): self
39+ /**
40+ * Thrown when the hidden value of config is false.
41+ *
42+ * @return self
43+ */
44+ public static function forNoHiddenValue ()
3045 {
3146 return new static (lang ('Honeypot.noHiddenValue ' ));
3247 }
3348
34- public static function isBot (): self
49+ /**
50+ * Thrown when there are no data in the request of honeypot field.
51+ *
52+ * @return self
53+ */
54+ public static function isBot ()
3555 {
3656 return new static (lang ('Honeypot.theClientIsABot ' ));
3757 }
You can’t perform that action at this time.
0 commit comments