Completed
Push — ezp26179-rest_session_refresh_... ( 9206e2...6e6e43 )
by
unknown
24:52
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.