@@ -111,6 +111,7 @@ discard block |
||
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 |
||
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 |
||
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"; |
@@ -742,8 +742,8 @@ |
||
742 | 742 | * $parentLocationIdList. |
743 | 743 | * |
744 | 744 | * @param string $contentName |
745 | - * @param $contentDescription |
|
746 | - * @param array $parentLocationIdList |
|
745 | + * @param string $contentDescription |
|
746 | + * @param integer[] $parentLocationIdList |
|
747 | 747 | * |
748 | 748 | * @return \eZ\Publish\API\Repository\Values\Content\Content |
749 | 749 | */ |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @note Class should instead be configured as service if it gains dependencies. |
30 | 30 | * |
31 | - * @return Integer |
|
31 | + * @return IntegerConverter |
|
32 | 32 | */ |
33 | 33 | public static function create() |
34 | 34 | { |