@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
64 | - * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject |
|
64 | + * @return ArrayObject |
|
65 | 65 | */ |
66 | 66 | public function getMetadataHandlerFactories() |
67 | 67 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | } |
70 | 70 | |
71 | 71 | /** |
72 | - * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|\ArrayObject |
|
72 | + * @return ArrayObject |
|
73 | 73 | */ |
74 | 74 | public function getBinarydataHandlerFactories() |
75 | 75 | { |
@@ -46,6 +46,8 @@ |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @When I set header :header with/for :object object |
49 | + * @param string $header |
|
50 | + * @param string $object |
|
49 | 51 | */ |
50 | 52 | public function setHeaderWithObject($header, $object) |
51 | 53 | { |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * @param \eZ\Publish\Core\Persistence\Database\DatabaseHandler $databaseHandler |
149 | 149 | * @param int $contentObjectStatus ContentInfo constant |
150 | 150 | * |
151 | - * @return int |
|
151 | + * @return string |
|
152 | 152 | */ |
153 | 153 | private function getContentObjectsTotalCount(DatabaseHandler $databaseHandler, $contentObjectStatus) |
154 | 154 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | * |
169 | 169 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
170 | 170 | * @param \Symfony\Component\Console\Helper\ProgressHelper $progress |
171 | - * @param $message |
|
171 | + * @param string $message |
|
172 | 172 | */ |
173 | 173 | private function logWarning(OutputInterface $output, ProgressHelper $progress, $message) |
174 | 174 | { |
@@ -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"; |
@@ -117,6 +117,7 @@ discard block |
||
117 | 117 | * @depends testCreateRole |
118 | 118 | * Covers POST /user/roles/{roleId} |
119 | 119 | * |
120 | + * @param string $roleHref |
|
120 | 121 | * @return string The created role draft href |
121 | 122 | */ |
122 | 123 | public function testCreateRoleDraft($roleHref) |
@@ -410,7 +411,6 @@ discard block |
||
410 | 411 | /** |
411 | 412 | * @covers \POST /user/users/{userId}/roles |
412 | 413 | * |
413 | - * @param string $roleHref |
|
414 | 414 | * @param array $limitation |
415 | 415 | * |
416 | 416 | * @return string assigned role href |
@@ -416,6 +416,7 @@ |
||
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 | { |
@@ -131,6 +131,7 @@ discard block |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
134 | + * @param string $semanticPath |
|
134 | 135 | * @return Request |
135 | 136 | */ |
136 | 137 | protected function createRequest($semanticPath, $host = 'localhost') |
@@ -142,7 +143,7 @@ discard block |
||
142 | 143 | } |
143 | 144 | |
144 | 145 | /** |
145 | - * @param $request |
|
146 | + * @param Request $request |
|
146 | 147 | * |
147 | 148 | * @return GetResponseEvent |
148 | 149 | */ |
@@ -109,6 +109,9 @@ |
||
109 | 109 | $conn->exec('DELETE FROM ezcontentobject_link WHERE relation_type = 0'); |
110 | 110 | } |
111 | 111 | |
112 | + /** |
|
113 | + * @param integer $totalCount |
|
114 | + */ |
|
112 | 115 | protected function executeList(OutputInterface $output, $totalCount) |
113 | 116 | { |
114 | 117 | $table = new Table($output); |