Completed
Push — php_cs_fixer_udpate ( e31d02...6c83ca )
by André
47:09 queued 27:04
created
eZ/Bundle/EzPublishRestBundle/Tests/Functional/TestCase.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -111,6 +111,7 @@  discard block
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
+     * @param string $method
114 115
      * @return HttpRequest
115 116
      */
116 117
     public function createHttpRequest($method, $uri, $contentType = '', $acceptType = '')
@@ -172,6 +173,9 @@  discard block
 block discarded – undo
172 173
         return $errorMessageString;
173 174
     }
174 175
 
176
+    /**
177
+     * @param string $header
178
+     */
175 179
     protected function assertHttpResponseHasHeader(HttpResponse $response, $header, $expectedValue = null)
176 180
     {
177 181
         $headerValue = $response->getHeader($header);
@@ -181,6 +185,9 @@  discard block
 block discarded – undo
181 185
         }
182 186
     }
183 187
 
188
+    /**
189
+     * @param string $typeString
190
+     */
184 191
     protected function generateMediaTypeString($typeString)
185 192
     {
186 193
         return "application/vnd.ez.api.$typeString";
Please login to merge, or discard this patch.
eZ/Bundle/EzPublishRestBundle/Tests/Functional/ContentTypeTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -416,6 +416,7 @@
 block discarded – undo
416 416
     /**
417 417
      * @depends testAddContentTypeDraftFieldDefinition
418 418
      * Covers GET /content/types/<contentTypeId>/fieldDefinitions/<fieldDefinitionId>
419
+     * @param \Buzz\Message\Response $fieldDefinitionHref
419 420
      */
420 421
     public function testLoadContentTypeFieldDefinition($fieldDefinitionHref)
421 422
     {
Please login to merge, or discard this patch.