Passed
Push — master ( f9279d...87874e )
by Joao
01:35 queued 11s
created
src/AbstractRequester.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -157,6 +157,9 @@  discard block
 block discarded – undo
157 157
         return $this;
158 158
     }
159 159
 
160
+    /**
161
+     * @param integer $code
162
+     */
160 163
     public function assertResponseCode($code)
161 164
     {
162 165
         $this->statusExpected = $code;
@@ -266,6 +269,10 @@  discard block
 block discarded – undo
266 269
         return $response;
267 270
     }
268 271
 
272
+    /**
273
+     * @param string $contentType
274
+     * @param string $body
275
+     */
269 276
     protected function parseMultiPartForm($contentType, $body)
270 277
     {
271 278
         $matchRequest = [];
Please login to merge, or discard this patch.
src/Base/Body.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param $schema
83 83
      * @param $body
84 84
      * @param $type
85
-     * @return bool
85
+     * @return null|boolean
86 86
      * @throws NotMatchedException
87 87
      */
88 88
     protected function matchString($name, $schema, $body, $type)
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * @param $schema
104 104
      * @param $body
105 105
      * @param $type
106
-     * @return bool
106
+     * @return null|boolean
107 107
      * @throws NotMatchedException
108 108
      */
109 109
     protected function matchFile($name, $schema, $body, $type)
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @param $name
120 120
      * @param $body
121 121
      * @param $type
122
-     * @return bool
122
+     * @return null|boolean
123 123
      * @throws NotMatchedException
124 124
      */
125 125
     protected function matchNumber($name, $body, $type)
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * @param $name
140 140
      * @param $body
141 141
      * @param $type
142
-     * @return bool
142
+     * @return null|boolean
143 143
      * @throws NotMatchedException
144 144
      */
145 145
     protected function matchBool($name, $body, $type)
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      * @param $schema
161 161
      * @param $body
162 162
      * @param $type
163
-     * @return bool
163
+     * @return null|boolean
164 164
      * @throws DefinitionNotFoundException
165 165
      * @throws GenericSwaggerException
166 166
      * @throws InvalidDefinitionException
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-     * @param $name
237
+     * @param string $name
238 238
      * @param $schema
239 239
      * @param $body
240 240
      * @return bool|null
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      * @param $body
351 351
      * @param $type
352 352
      * @param $nullable
353
-     * @return bool
353
+     * @return null|boolean
354 354
      * @throws NotMatchedException
355 355
      */
356 356
     protected function matchNull($name, $body, $type, $nullable)
Please login to merge, or discard this patch.
src/ApiTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * @param array|null $query
62 62
      * @param array|null $requestBody
63 63
      * @param array $requestHeader
64
-     * @return mixed
64
+     * @return \Psr\Http\Message\ResponseInterface
65 65
      * @throws DefinitionNotFoundException
66 66
      * @throws GenericSwaggerException
67 67
      * @throws HttpMethodNotFoundException
Please login to merge, or discard this patch.