@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get handler with required custom field types registered. |
50 | 50 | * |
51 | - * @return Handler |
|
51 | + * @return \eZ\Publish\SPI\Persistence\Handler |
|
52 | 52 | */ |
53 | 53 | public function getCustomHandler() |
54 | 54 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get handler with required custom field types registered. |
50 | 50 | * |
51 | - * @return Handler |
|
51 | + * @return \eZ\Publish\SPI\Persistence\Handler |
|
52 | 52 | */ |
53 | 53 | public function getCustomHandler() |
54 | 54 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get handler with required custom field types registered. |
50 | 50 | * |
51 | - * @return Handler |
|
51 | + * @return \eZ\Publish\SPI\Persistence\Handler |
|
52 | 52 | */ |
53 | 53 | public function getCustomHandler() |
54 | 54 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get handler with required custom field types registered. |
50 | 50 | * |
51 | - * @return Handler |
|
51 | + * @return \eZ\Publish\SPI\Persistence\Handler |
|
52 | 52 | */ |
53 | 53 | public function getCustomHandler() |
54 | 54 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get handler with required custom field types registered. |
50 | 50 | * |
51 | - * @return Handler |
|
51 | + * @return \eZ\Publish\SPI\Persistence\Handler |
|
52 | 52 | */ |
53 | 53 | public function getCustomHandler() |
54 | 54 | { |
@@ -123,7 +123,7 @@ |
||
123 | 123 | /** |
124 | 124 | * Get response status code. |
125 | 125 | * |
126 | - * @return string |
|
126 | + * @return integer |
|
127 | 127 | * |
128 | 128 | * @throws \RuntimeException If request hasn't been send already |
129 | 129 | */ |
@@ -1345,7 +1345,7 @@ discard block |
||
1345 | 1345 | * |
1346 | 1346 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
1347 | 1347 | * |
1348 | - * @return array |
|
1348 | + * @return string[] |
|
1349 | 1349 | */ |
1350 | 1350 | private function getUpdatedLanguageCodes(APIContentUpdateStruct $contentUpdateStruct) |
1351 | 1351 | { |
@@ -1372,7 +1372,7 @@ discard block |
||
1372 | 1372 | * @param \eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct |
1373 | 1373 | * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
1374 | 1374 | * |
1375 | - * @return array |
|
1375 | + * @return string[] |
|
1376 | 1376 | */ |
1377 | 1377 | protected function getLanguageCodesForUpdate(APIContentUpdateStruct $contentUpdateStruct, APIContent $content) |
1378 | 1378 | { |
@@ -1491,7 +1491,7 @@ discard block |
||
1491 | 1491 | * @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo |
1492 | 1492 | * @param int|null $publicationDate If null existing date is kept if there is one, otherwise current time is used. |
1493 | 1493 | * |
1494 | - * @return \eZ\Publish\API\Repository\Values\Content\Content |
|
1494 | + * @return LocationCreateStruct |
|
1495 | 1495 | */ |
1496 | 1496 | protected function internalPublishVersion(APIVersionInfo $versionInfo, $publicationDate = null) |
1497 | 1497 | { |
@@ -205,6 +205,9 @@ discard block |
||
205 | 205 | return $this->persistenceMock; |
206 | 206 | } |
207 | 207 | |
208 | + /** |
|
209 | + * @return RelationProcessor |
|
210 | + */ |
|
208 | 211 | protected function getRelationProcessorMock() |
209 | 212 | { |
210 | 213 | return $this->getMock(RelationProcessor::class, |
@@ -254,7 +257,7 @@ discard block |
||
254 | 257 | * |
255 | 258 | * @param int $id |
256 | 259 | * |
257 | - * @return \eZ\Publish\API\Repository\Values\User\User |
|
260 | + * @return null|\eZ\Publish\API\Repository\Values\User\UserReference |
|
258 | 261 | */ |
259 | 262 | protected function getStubbedUser($id) |
260 | 263 | { |
@@ -677,7 +677,7 @@ discard block |
||
677 | 677 | * |
678 | 678 | * @deprecated Since platform 1.0. Forwards the request to the new /views location, but returns a 301. |
679 | 679 | * |
680 | - * @return \eZ\Publish\Core\REST\Server\Values\RestExecutedView |
|
680 | + * @return \Symfony\Component\HttpFoundation\Response |
|
681 | 681 | */ |
682 | 682 | public function createView() |
683 | 683 | { |
@@ -706,7 +706,7 @@ discard block |
||
706 | 706 | /** |
707 | 707 | * @param \Symfony\Component\HttpFoundation\Request $request |
708 | 708 | * |
709 | - * @return mixed |
|
709 | + * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
710 | 710 | */ |
711 | 711 | protected function parseContentRequest(Request $request) |
712 | 712 | { |