Completed
Push — master ( 478748...d80769 )
by Ehsan
07:01
created
vendor/guzzle/guzzle/src/Guzzle/Service/Description/Parameter.php 1 patch
Doc Comments   +5 added lines, -5 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
      */
@@ -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
     {
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
     /**
677 677
      * Get the parent object (an {@see OperationInterface} or {@see Parameter}
678 678
      *
679
-     * @return OperationInterface|Parameter|null
679
+     * @return Operation
680 680
      */
681 681
     public function getParent()
682 682
     {
@@ -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.
vendor/guzzle/guzzle/src/Guzzle/Stream/Stream.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      * @param string          $algo      Hash algorithm (e.g. md5, crc32, etc)
91 91
      * @param bool            $rawOutput Whether or not to use raw output
92 92
      *
93
-     * @return bool|string Returns false on failure or a hash string on success
93
+     * @return false|string Returns false on failure or a hash string on success
94 94
      */
95 95
     public static function getHash(StreamInterface $stream, $algo, $rawOutput = false)
96 96
     {
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/tests/Guzzle/Tests/Batch/BatchBuilderTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -9,11 +9,17 @@
 block discarded – undo
9 9
  */
10 10
 class BatchBuilderTest extends \Guzzle\Tests\GuzzleTestCase
11 11
 {
12
+    /**
13
+     * @return \Guzzle\Batch\BatchTransferInterface
14
+     */
12 15
     private function getMockTransfer()
13 16
     {
14 17
         return $this->getMock('Guzzle\Batch\BatchTransferInterface');
15 18
     }
16 19
 
20
+    /**
21
+     * @return \Guzzle\Batch\BatchDivisorInterface
22
+     */
17 23
     private function getMockDivisor()
18 24
     {
19 25
         return $this->getMock('Guzzle\Batch\BatchDivisorInterface');
Please login to merge, or discard this patch.
vendor/guzzle/guzzle/tests/Guzzle/Tests/Http/Message/ResponseTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -474,6 +474,7 @@
 block discarded – undo
474 474
     }
475 475
 
476 476
     /**
477
+     * @param integer $code
477 478
      * @return Response
478 479
      */
479 480
     private function getResponse($code, array $headers = null, EntityBody $body = null)
Please login to merge, or discard this patch.
guzzle/guzzle/tests/Guzzle/Tests/Plugin/Cache/DefaultRevalidationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
  */
23 23
 class DefaultRevalidationTest extends \Guzzle\Tests\GuzzleTestCase
24 24
 {
25
+    /**
26
+     * @param string $time
27
+     */
25 28
     protected function getHttpDate($time)
26 29
     {
27 30
         return gmdate(ClientInterface::HTTP_DATE, strtotime($time));
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@  discard block
 block discarded – undo
71 71
         }
72 72
     }
73 73
 
74
+    /**
75
+     * @param RequestException $error
76
+     */
74 77
     private function invokeStats(
75 78
         array $options,
76 79
         RequestInterface $request,
@@ -90,6 +93,10 @@  discard block
 block discarded – undo
90 93
         }
91 94
     }
92 95
 
96
+    /**
97
+     * @param resource $stream
98
+     * @param double|null $startTime
99
+     */
93 100
     private function createResponse(
94 101
         RequestInterface $request,
95 102
         array $options,
Please login to merge, or discard this patch.
vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * @param RequestInterface  $request
76 76
      * @param array             $options
77
-     * @param ResponseInterface|PromiseInterface $response
77
+     * @param ResponseInterface $response
78 78
      *
79 79
      * @return ResponseInterface|PromiseInterface
80 80
      */
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
         return $promise;
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $uri
120
+     */
118 121
     private function withTracking(PromiseInterface $promise, $uri)
119 122
     {
120 123
         return $promise->then(
Please login to merge, or discard this patch.