Skip to content

Commit ec48ebb

Browse files
authored
Update Curl.php
1 parent e3cd4bc commit ec48ebb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ReCaptcha/RequestMethod/Curl.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434

3535
namespace ReCaptcha\RequestMethod;
3636

37+
use function \curl_init as root_curl;
38+
3739
/**
3840
* Convenience wrapper around the cURL functions to allow mocking.
3941
*/
@@ -47,7 +49,7 @@ class Curl
4749
*/
4850
public function init($url = null)
4951
{
50-
return \curl_init($url);
52+
return root_curl($url);
5153
}
5254

5355
/**

0 commit comments

Comments
 (0)