1 | <?php |
||
29 | class FailedCaptcha |
||
30 | { |
||
31 | use SerializesModels; |
||
32 | |||
33 | /** |
||
34 | * The IP that the request originated from. |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | public $ip; |
||
39 | |||
40 | /** |
||
41 | * The domain that was used to try to verify the request with recaptcha api. |
||
42 | * |
||
43 | * @var string |
||
44 | */ |
||
45 | public $domain; |
||
46 | |||
47 | /** |
||
48 | * Create a new event instance. |
||
49 | * |
||
50 | * @param string $ip |
||
51 | * @param string $domain |
||
52 | * @return void |
||
|
|||
53 | */ |
||
54 | public function __construct($ip, $domain) |
||
59 | } |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.