We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f398536 + c751c73 commit 75470e5Copy full SHA for 75470e5
src/Plugin.php
@@ -24,8 +24,8 @@ interface Plugin
24
*
25
* @see http://docs.php-http.org/en/latest/plugins/build-your-own.html
26
27
- * @param callable $next Next middleware in the chain, the request is passed as the first argument
28
- * @param callable $first First middleware in the chain, used to to restart a request
+ * @param callable(RequestInterface): Promise $next Next middleware in the chain, the request is passed as the first argument
+ * @param callable(RequestInterface): Promise $first First middleware in the chain, used to to restart a request
29
30
* @return Promise Resolves a PSR-7 Response or fails with an Http\Client\Exception (The same as HttpAsyncClient)
31
*/
0 commit comments