Completed
Push — master ( 3cf298...59bc3b )
by adam
05:40
created
src/Guzzle/MiddlewareFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,14 +32,14 @@
 block discarded – undo
32 32
 	}
33 33
 
34 34
 	/**
35
-	 * @return callable
35
+	 * @return \Closure
36 36
 	 */
37 37
 	public function retry() {
38 38
 		return Middleware::retry( $this->newRetryDecider() );
39 39
 	}
40 40
 
41 41
 	/**
42
-	 * @return callable
42
+	 * @return \Closure
43 43
 	 */
44 44
 	private function newRetryDecider() {
45 45
 		return function (
Please login to merge, or discard this patch.
src/MediawikiApi.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,14 +3,10 @@
 block discarded – undo
3 3
 namespace Mediawiki\Api;
4 4
 
5 5
 use GuzzleHttp\Client;
6
-use GuzzleHttp\Exception\ConnectException;
7 6
 use GuzzleHttp\Exception\RequestException;
8 7
 use GuzzleHttp\Handler\CurlHandler;
9 8
 use GuzzleHttp\HandlerStack;
10
-use GuzzleHttp\Middleware;
11 9
 use GuzzleHttp\Promise\PromiseInterface;
12
-use GuzzleHttp\Psr7\Request as Psr7Request;
13
-use GuzzleHttp\Psr7\Response as Psr7Response;
14 10
 use InvalidArgumentException;
15 11
 use Mediawiki\Api\Guzzle\MiddlewareFactory;
16 12
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.