@@ -278,7 +278,7 @@ |
||
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |
281 | - * @param mixed $spiBinaryFileId |
|
281 | + * @param string $spiBinaryFileId |
|
282 | 282 | * |
283 | 283 | * @return string |
284 | 284 | * |
@@ -218,7 +218,7 @@ discard block |
||
218 | 218 | * @covers \eZ\Publish\Core\IO\IOService::loadBinaryFile |
219 | 219 | * @expectedException \eZ\Publish\Core\Base\Exceptions\NotFoundException |
220 | 220 | * |
221 | - * @return mixed Whatever loadBinaryFile returns |
|
221 | + * @return BinaryFile Whatever loadBinaryFile returns |
|
222 | 222 | */ |
223 | 223 | public function testLoadBinaryFileNotFound() |
224 | 224 | { |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | } |
263 | 263 | |
264 | 264 | /** |
265 | - * @return mixed Whatever loadBinaryFileByUri returns |
|
265 | + * @return BinaryFile Whatever loadBinaryFileByUri returns |
|
266 | 266 | * @expectedException \eZ\Publish\Core\Base\Exceptions\NotFoundException |
267 | 267 | */ |
268 | 268 | public function testLoadBinaryFileByUriNotFound() |
@@ -450,8 +450,9 @@ discard block |
||
450 | 450 | * Asserts that the given $ioCreateStruct is of the right type and that id matches the expected value. |
451 | 451 | * |
452 | 452 | * @param $ioCreateStruct |
453 | + * @param string $spiId |
|
453 | 454 | * |
454 | - * @return bool |
|
455 | + * @return \Closure |
|
455 | 456 | */ |
456 | 457 | private function getSPIBinaryFileCreateStructCallback($spiId) |
457 | 458 | { |
@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | use eZ\Publish\API\Repository\Values\ValueObject; |
12 | 12 | use eZ\Publish\API\Repository\Values\Content\ContentInfo; |
13 | -use eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator; |
|
14 | 13 | use eZ\Publish\API\Repository\Values\User\Limitation; |
15 | 14 | use eZ\Publish\API\Repository\Values\User\Limitation\BlockingLimitation; |
16 | 15 | use eZ\Publish\API\Repository\Values\User\Limitation\ObjectStateLimitation; |
@@ -474,6 +474,9 @@ |
||
474 | 474 | ); |
475 | 475 | } |
476 | 476 | |
477 | + /** |
|
478 | + * @param boolean $persistenceCalled |
|
479 | + */ |
|
477 | 480 | protected function assertContentHandlerExpectations($callNo, $persistenceCalled, $contentId, $contentInfo) |
478 | 481 | { |
479 | 482 | $this->getPersistenceMock() |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Triggers the cache purge $cacheElements. |
34 | 34 | * |
35 | - * @param mixed $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
35 | + * @param integer[] $locationIds Cache resource(s) to purge (e.g. array of URI to purge in a reverse proxy) |
|
36 | 36 | */ |
37 | 37 | public function purge($locationIds) |
38 | 38 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | private static $contentId = 42; |
14 | 14 | |
15 | 15 | /** |
16 | - * @return mixed |
|
16 | + * @return integer |
|
17 | 17 | */ |
18 | 18 | public static function getContentId() |
19 | 19 | { |
@@ -76,6 +76,10 @@ |
||
76 | 76 | |
77 | 77 | /** |
78 | 78 | * @throws NotImplementedException If Content is missing location as this is not supported in current version |
79 | + * @param integer $contentId |
|
80 | + * @param integer $versionNo |
|
81 | + * @param string $language |
|
82 | + * @param string $siteAccessName |
|
79 | 83 | */ |
80 | 84 | public function previewContentAction(Request $request, $contentId, $versionNo, $language, $siteAccessName = null) |
81 | 85 | { |
@@ -374,6 +374,11 @@ |
||
374 | 374 | } |
375 | 375 | } |
376 | 376 | |
377 | + /** |
|
378 | + * @param string $viewType |
|
379 | + * @param integer $contentId |
|
380 | + * @param integer $locationId |
|
381 | + */ |
|
377 | 382 | protected function handleViewException(Response $response, $params, Exception $e, $viewType, $contentId = null, $locationId = null) |
378 | 383 | { |
379 | 384 | $event = new APIContentExceptionEvent( |
@@ -304,9 +304,9 @@ |
||
304 | 304 | /** |
305 | 305 | * Returns configured template reference for the given embed parameters. |
306 | 306 | * |
307 | - * @param $resourceType |
|
308 | - * @param $isInline |
|
309 | - * @param $isDenied |
|
307 | + * @param integer $resourceType |
|
308 | + * @param boolean $isInline |
|
309 | + * @param boolean $isDenied |
|
310 | 310 | * |
311 | 311 | * @return null|string |
312 | 312 | */ |