@@ -127,18 +127,18 @@ |
||
| 127 | 127 | * Link word with specific content object (legacy db table: ezsearch_object_word_link). |
| 128 | 128 | * |
| 129 | 129 | * @param $wordId |
| 130 | - * @param $contentId |
|
| 131 | - * @param $frequency |
|
| 132 | - * @param $placement |
|
| 130 | + * @param integer $contentId |
|
| 131 | + * @param integer $frequency |
|
| 132 | + * @param integer $placement |
|
| 133 | 133 | * @param $nextWordId |
| 134 | 134 | * @param $prevWordId |
| 135 | - * @param $contentTypeId |
|
| 135 | + * @param integer $contentTypeId |
|
| 136 | 136 | * @param $fieldTypeId |
| 137 | - * @param $published |
|
| 138 | - * @param $sectionId |
|
| 137 | + * @param integer $published |
|
| 138 | + * @param integer $sectionId |
|
| 139 | 139 | * @param $identifier |
| 140 | 140 | * @param $integerValue |
| 141 | - * @param $languageMask |
|
| 141 | + * @param integer $languageMask |
|
| 142 | 142 | */ |
| 143 | 143 | public function addObjectWordLink($wordId, |
| 144 | 144 | $contentId, |
@@ -332,7 +332,7 @@ |
||
| 332 | 332 | } |
| 333 | 333 | |
| 334 | 334 | /** |
| 335 | - * @param mixed $locationId |
|
| 335 | + * @param integer $locationId |
|
| 336 | 336 | * @param bool $count |
| 337 | 337 | * |
| 338 | 338 | * @return \Doctrine\DBAL\Driver\Statement |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | final class ContentViewTwigVariablesSubscriberTest extends TestCase |
| 24 | 24 | { |
| 25 | 25 | /** |
| 26 | - * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView|\PHPUnit\Framework\MockObject\MockObject |
|
| 26 | + * @return View |
|
| 27 | 27 | */ |
| 28 | 28 | private function getContentViewMock(): ContentView |
| 29 | 29 | { |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use eZ\Publish\Core\Repository\Mapper\ContentDomainMapper; |
| 19 | 19 | use eZ\Publish\Core\Repository\Values\Content\Content; |
| 20 | 20 | use eZ\Publish\Core\Repository\Values\Content\VersionInfo; |
| 21 | -use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
|
| 22 | 21 | use eZ\Publish\SPI\Persistence\Content\ContentInfo as SPIContentInfo; |
| 23 | 22 | use eZ\Publish\SPI\Persistence\Content\Location; |
| 24 | 23 | use eZ\Publish\API\Repository\Values\Content\Location as APILocation; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * Removes the old file referenced by $fieldId in $versionNo, if not |
| 119 | 119 | * referenced else where. |
| 120 | 120 | * |
| 121 | - * @param mixed $fieldId |
|
| 121 | + * @param integer $fieldId |
|
| 122 | 122 | * @param string $versionNo |
| 123 | 123 | * @param array $context |
| 124 | 124 | */ |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Get language by id. |
| 75 | 75 | * |
| 76 | - * @param mixed $id |
|
| 76 | + * @param integer $id |
|
| 77 | 77 | * |
| 78 | 78 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If language could not be found by $id |
| 79 | 79 | * |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | /** |
| 180 | 180 | * Delete a language. |
| 181 | 181 | * |
| 182 | - * @param mixed $id |
|
| 182 | + * @param integer $id |
|
| 183 | 183 | */ |
| 184 | 184 | public function delete($id) |
| 185 | 185 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use eZ\Publish\SPI\Persistence\Content\Location; |
| 12 | 12 | use eZ\Publish\SPI\Persistence\Content\Location\UpdateStruct; |
| 13 | 13 | use eZ\Publish\SPI\Persistence\Content\Location\CreateStruct; |
| 14 | -use Doctrine\DBAL\DBALException; |
|
| 15 | 14 | use PDOException; |
| 16 | 15 | |
| 17 | 16 | /** |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | /** |
| 285 | 285 | * Returns a Content Gateway mock. |
| 286 | 286 | * |
| 287 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Gateway |
|
| 287 | + * @return Gateway |
|
| 288 | 288 | */ |
| 289 | 289 | protected function getContentGatewayMock() |
| 290 | 290 | { |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | /** |
| 299 | 299 | * Returns a Content StorageHandler mock. |
| 300 | 300 | * |
| 301 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler |
|
| 301 | + * @return StorageHandler |
|
| 302 | 302 | */ |
| 303 | 303 | protected function getContentStorageHandlerMock() |
| 304 | 304 | { |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | /** |
| 313 | 313 | * Returns a Content mapper mock. |
| 314 | 314 | * |
| 315 | - * @return \PHPUnit\Framework\MockObject\MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
| 315 | + * @return ContentMapper |
|
| 316 | 316 | */ |
| 317 | 317 | protected function getContentMapperMock() |
| 318 | 318 | { |
@@ -538,7 +538,7 @@ |
||
| 538 | 538 | * are an array of limitation values. The limitation parameter is optional. |
| 539 | 539 | * |
| 540 | 540 | * @param mixed $contentId The groupId or userId to assign the role to. |
| 541 | - * @param mixed $roleId |
|
| 541 | + * @param integer|null $roleId |
|
| 542 | 542 | * @param array $limitation |
| 543 | 543 | */ |
| 544 | 544 | public function assignRole($contentId, $roleId, array $limitation = null) |