Skip to content

Commit 21cf1a7

Browse files
authored
Merge pull request google#514 from 8ctopus/php8.2-depreciations
Fix php 8.2 creation of dynamic property is deprecated
2 parents cac3042 + 2ddec2a commit 21cf1a7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/ReCaptcha/ReCaptcha.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@ class ReCaptcha
123123
*/
124124
private $requestMethod;
125125

126+
private $hostname;
127+
private $apkPackageName;
128+
private $action;
129+
private $threshold;
130+
private $timeoutSeconds;
131+
126132
/**
127133
* Create a configured instance to use the reCAPTCHA service.
128134
*

src/ReCaptcha/RequestMethod/SocketPost.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ class SocketPost implements RequestMethod
5151
*/
5252
private $socket;
5353

54+
private $siteVerifyUrl;
55+
5456
/**
5557
* Only needed if you want to override the defaults
5658
*

0 commit comments

Comments
 (0)