You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,7 +175,7 @@ You can change the default requester by setting the `requester` key in [configur
175
175
176
176
You can also implement your own requester. Just make sure it implements the [ReCaptchaControl\Http\Requester\IRequester](src/ReCaptchaControl/Http/Requester/IRequester.php) interface.
177
177
178
-
It basically requires a single `public function post($url, array $values = [])` method which takes URL, performs a HTTP POST request with given `$values` and returns body of the response as a string. In case of a failure, `ReCaptchaControl\Http\Requester\RequestException` should be thrown.
178
+
It basically requires a single `public function post(string $url, array $values = []): string` method which takes URL, performs a HTTP POST request with given `$values` and returns body of the response as a string. In case of a failure, `ReCaptchaControl\Http\Requester\RequestException` should be thrown.
0 commit comments