Completed
Push — 6.7 ( ac76ae...75fc90 )
by
unknown
52:22 queued 30:20
created
eZ/Bundle/EzPublishRestBundle/Tests/Functional/TestCase.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,6 +109,7 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
+     * @param string $method
112 113
      * @return HttpRequest
113 114
      */
114 115
     public function createHttpRequest($method, $uri, $contentType = '', $acceptType = '')
@@ -170,6 +171,9 @@  discard block
 block discarded – undo
170 171
         return $errorMessageString;
171 172
     }
172 173
 
174
+    /**
175
+     * @param string $header
176
+     */
173 177
     protected function assertHttpResponseHasHeader(HttpResponse $response, $header, $expectedValue = null)
174 178
     {
175 179
         $headerValue = $response->getHeader($header);
@@ -179,6 +183,9 @@  discard block
 block discarded – undo
179 183
         }
180 184
     }
181 185
 
186
+    /**
187
+     * @param string $typeString
188
+     */
182 189
     protected function generateMediaTypeString($typeString)
183 190
     {
184 191
         return "application/vnd.ez.api.$typeString";
@@ -209,7 +216,7 @@  discard block
 block discarded – undo
209 216
     /**
210 217
      * @param string $string The value of the folders name field
211 218
      * @param string $parentLocationId The REST id of the parent location
212
-     * @param null $remoteId
219
+     * @param string $remoteId
213 220
      *
214 221
      * @return array created Content, as an array
215 222
      */
@@ -294,6 +301,9 @@  discard block
 block discarded – undo
294 301
         return $folderLocations;
295 302
     }
296 303
 
304
+    /**
305
+     * @param string $string
306
+     */
297 307
     protected function addTestSuffix($string)
298 308
     {
299 309
         if (!isset(self::$testSuffix)) {
Please login to merge, or discard this patch.