Completed
Push — master ( f9f049...9b2260 )
by Ehsan
10:40
created
vendor/guzzle/guzzle/src/Guzzle/Http/Message/RequestInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@
 block discarded – undo
62 62
     /**
63 63
      * Set the URL of the request
64 64
      *
65
-     * @param string $url|Url Full URL to set including query string
66 65
      *
67 66
      * @return self
68 67
      */
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Http/Message/Response.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     /**
191 191
      * Set the response entity body
192 192
      *
193
-     * @param EntityBodyInterface|string $body Body to set
193
+     * @param string $body Body to set
194 194
      *
195 195
      * @return self
196 196
      */
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     /**
297 297
      * Get the response status code
298 298
      *
299
-     * @return integer
299
+     * @return string
300 300
      */
301 301
     public function getStatusCode()
302 302
     {
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
     /**
378 378
      * Get the Age HTTP header
379 379
      *
380
-     * @return integer|null Returns the age the object has been in a proxy cache in seconds.
380
+     * @return string Returns the age the object has been in a proxy cache in seconds.
381 381
      */
382 382
     public function getAge()
383 383
     {
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
     /**
584 584
      * Get the Pragma HTTP header
585 585
      *
586
-     * @return Header|null Returns the implementation-specific headers that may have various effects anywhere along
586
+     * @return string Returns the implementation-specific headers that may have various effects anywhere along
587 587
      *                     the request-response chain.
588 588
      */
589 589
     public function getPragma()
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
     /**
605 605
      * Get the Retry-After HTTP header
606 606
      *
607
-     * @return int|null If an entity is temporarily unavailable, this instructs the client to try again after a
607
+     * @return string If an entity is temporarily unavailable, this instructs the client to try again after a
608 608
      *                  specified period of time.
609 609
      */
610 610
     public function getRetryAfter()
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Http/ReadLimitEntityBody.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Guzzle\Http;
4 4
 
5
-use Guzzle\Stream\StreamInterface;
6
-
7 5
 /**
8 6
  * EntityBody decorator used to return only a subset of an entity body
9 7
  */
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Http/Url.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * @param string                   $password Password of the URL
117 117
      * @param int                      $port     Port of the URL
118 118
      * @param string                   $path     Path of the URL
119
-     * @param QueryString|array|string $query    Query string of the URL
119
+     * @param QueryString $query    Query string of the URL
120 120
      * @param string                   $fragment Fragment of the URL
121 121
      */
122 122
     public function __construct($scheme, $host, $username = null, $password = null, $port = null, $path = null, QueryString $query = null, $fragment = null)
@@ -543,6 +543,9 @@  discard block
 block discarded – undo
543 543
         return $this;
544 544
     }
545 545
 
546
+    /**
547
+     * @param boolean $strictRfc386
548
+     */
546 549
     private function addQuery(QueryString $new, $strictRfc386)
547 550
     {
548 551
         if (!$strictRfc386) {
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Plugin/Cache/DefaultCacheStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     protected $defaultTtl;
26 26
 
27 27
     /**
28
-     * @param mixed  $cache      Cache used to store cache data
28
+     * @param CacheAdapterInterface  $cache      Cache used to store cache data
29 29
      * @param string $keyPrefix  Provide an optional key prefix to prefix on all cache keys
30 30
      * @param int    $defaultTtl Default cache TTL
31 31
      */
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * Gets an array of invalid cookie characters
26 26
      *
27
-     * @return array
27
+     * @return string
28 28
      */
29 29
     protected static function getInvalidCharacters()
30 30
     {
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
     /**
226 226
      * Set the cookie version
227 227
      *
228
-     * @param string|int $version Version to set
228
+     * @param integer $version Version to set
229 229
      *
230 230
      * @return Cookie
231 231
      */
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     /**
336 336
      * Set a list of acceptable ports this cookie can be used with
337 337
      *
338
-     * @param array $ports Array of acceptable ports
338
+     * @param integer[] $ports Array of acceptable ports
339 339
      *
340 340
      * @return Cookie
341 341
      */
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Plugin/Oauth/OauthPlugin.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * Request before-send event handler
70 70
      *
71 71
      * @param Event $event Event received
72
-     * @return array
72
+     * @return Collection
73 73
      * @throws \InvalidArgumentException
74 74
      */
75 75
     public function onRequestBeforeSend(Event $event)
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * Builds the Authorization header for a request
107 107
      *
108
-     * @param array $authorizationParams Associative array of authorization parameters
108
+     * @param Collection $authorizationParams Associative array of authorization parameters
109 109
      *
110 110
      * @return string
111 111
      */
@@ -168,8 +168,8 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * Get the oauth parameters as named by the oauth spec
170 170
      *
171
-     * @param $timestamp
172
-     * @param $nonce
171
+     * @param integer $timestamp
172
+     * @param string $nonce
173 173
      * @return Collection
174 174
      */
175 175
     protected function getOauthParams($timestamp, $nonce)
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * overwritten e.g. the Flickr API incorrectly adds the post fields when the Content-Type
238 238
      * is 'application/x-www-form-urlencoded'
239 239
      *
240
-     * @param $request
240
+     * @param RequestInterface $request
241 241
      * @return bool Whether the post fields should be signed or not
242 242
      */
243 243
     public function shouldPostFieldsBeSigned($request)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Guzzle\Common\Collection;
7 7
 use Guzzle\Http\Message\RequestInterface;
8 8
 use Guzzle\Http\Message\EntityEnclosingRequestInterface;
9
-use Guzzle\Http\QueryString;
10 9
 use Guzzle\Http\Url;
11 10
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
12 11
 
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Service/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param string $method Name of the command object to instantiate
69 69
      * @param array  $args   Arguments to pass to the command
70 70
      *
71
-     * @return mixed Returns the result of the command
71
+     * @return \Guzzle\Http\Message\Response Returns the result of the command
72 72
      * @throws BadMethodCallException when a command is not found
73 73
      */
74 74
     public function __call($method, $args)
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Get the inflector used with the client
183 183
      *
184
-     * @return self
184
+     * @return InflectorInterface
185 185
      */
186 186
     public function getInflector()
187 187
     {
Please login to merge, or discard this patch.
guzzle/guzzle/src/Guzzle/Service/Command/Factory/CompositeFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     /**
80 80
      * Check if the chain contains a specific command factory
81 81
      *
82
-     * @param FactoryInterface|string $factory Factory to check
82
+     * @param string $factory Factory to check
83 83
      *
84 84
      * @return bool
85 85
      */
Please login to merge, or discard this patch.