We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91564be commit 09358c5Copy full SHA for 09358c5
src/ReCaptcha/Response.php
@@ -66,7 +66,7 @@ public static function fromJson($json)
66
$hostname = isset($responseData['hostname']) ? $responseData['hostname'] : null;
67
68
if (isset($responseData['success']) && $responseData['success'] == true) {
69
- return new Response(true, [], $hostname);
+ return new Response(true, array(), $hostname);
70
}
71
72
if (isset($responseData['error-codes']) && is_array($responseData['error-codes'])) {
0 commit comments