Skip to content

Commit 09358c5

Browse files
committed
Fix array declaration to be compatible with PHP5.3
1 parent 91564be commit 09358c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReCaptcha/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static function fromJson($json)
6666
$hostname = isset($responseData['hostname']) ? $responseData['hostname'] : null;
6767

6868
if (isset($responseData['success']) && $responseData['success'] == true) {
69-
return new Response(true, [], $hostname);
69+
return new Response(true, array(), $hostname);
7070
}
7171

7272
if (isset($responseData['error-codes']) && is_array($responseData['error-codes'])) {

0 commit comments

Comments
 (0)