Completed
Push — master ( 385f07...8ea584 )
by Michal
15:36
created
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.
guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
      *
208 208
      * @param \XMLWriter $xmlWriter
209 209
      *
210
-     * @return \string the writer resource
210
+     * @return string the writer resource
211 211
      */
212 212
     protected function finishDocument($xmlWriter)
213 213
     {
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Service/Command/OperationResponseParser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Guzzle\Service\Command\LocationVisitor\Response\ResponseVisitorInterface;
8 8
 use Guzzle\Service\Description\Parameter;
9 9
 use Guzzle\Service\Description\OperationInterface;
10
-use Guzzle\Service\Description\Operation;
11 10
 use Guzzle\Service\Exception\ResponseClassException;
12 11
 use Guzzle\Service\Resource\Model;
13 12
 
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Service/Description/Operation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -493,7 +493,7 @@  discard block
 block discarded – undo
493 493
      * Set a particular data point on the operation
494 494
      *
495 495
      * @param string $name  Name of the data value
496
-     * @param mixed  $value Value to set
496
+     * @param boolean  $value Value to set
497 497
      *
498 498
      * @return self
499 499
      */
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
     /**
508 508
      * Get the additionalParameters of the operation
509 509
      *
510
-     * @return Parameter|null
510
+     * @return Parameter
511 511
      */
512 512
     public function getAdditionalParameters()
513 513
     {
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Service/Description/Parameter.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
     /**
280 280
      * Set the type(s) of the parameter
281 281
      *
282
-     * @param string|array $type Type of parameter or array of simple types used in a union
282
+     * @param string $type Type of parameter or array of simple types used in a union
283 283
      *
284 284
      * @return self
285 285
      */
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * Get the description of the parameter
343 343
      *
344
-     * @return string|null
344
+     * @return string
345 345
      */
346 346
     public function getDescription()
347 347
     {
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
     /**
390 390
      * Get the maximum acceptable value for an integer
391 391
      *
392
-     * @return int|null
392
+     * @return integer
393 393
      */
394 394
     public function getMaximum()
395 395
     {
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
     /**
438 438
      * Get the maximum allowed length of a string value
439 439
      *
440
-     * @return int|null
440
+     * @return integer
441 441
      */
442 442
     public function getMaxLength()
443 443
     {
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
     /**
462 462
      * Get the maximum allowed number of items in an array value
463 463
      *
464
-     * @return int|null
464
+     * @return integer
465 465
      */
466 466
     public function getMaxItems()
467 467
     {
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
      * Set the extra data properties of the parameter or set a specific extra property
583 583
      *
584 584
      * @param string|array|null $nameOrData The name of a specific extra to set or an array of extras to set
585
-     * @param mixed|null        $data       When setting a specific extra property, specify the data to set for it
585
+     * @param string        $data       When setting a specific extra property, specify the data to set for it
586 586
      *
587 587
      * @return self
588 588
      */
@@ -600,7 +600,7 @@  discard block
 block discarded – undo
600 600
     /**
601 601
      * Get whether or not the default value can be changed
602 602
      *
603
-     * @return mixed|null
603
+     * @return boolean
604 604
      */
605 605
     public function getStatic()
606 606
     {
@@ -864,7 +864,7 @@  discard block
 block discarded – undo
864 864
     /**
865 865
      * Set the enum of strings that are valid for the parameter
866 866
      *
867
-     * @param array|null $enum Array of strings or null
867
+     * @param string[] $enum Array of strings or null
868 868
      *
869 869
      * @return self
870 870
      */
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Service/Description/SchemaValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
      * @param string $type  Parameter type
261 261
      * @param mixed  $value Value to determine the type
262 262
      *
263
-     * @return string|bool Returns the matching type on
263
+     * @return string|false Returns the matching type on
264 264
      */
265 265
     protected function determineType($type, $value)
266 266
     {
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/src/Guzzle/Service/Resource/ResourceIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
      * Set an option on the iterator
111 111
      *
112 112
      * @param string $key   Key of the option to set
113
-     * @param mixed  $value Value to set for the option
113
+     * @param string  $value Value to set for the option
114 114
      *
115 115
      * @return ResourceIterator
116 116
      */
Please login to merge, or discard this patch.