@@ -1052,7 +1052,7 @@ |
||
| 1052 | 1052 | * |
| 1053 | 1053 | * @param \eZ\Publish\API\Repository\Values\User\RoleCreateStruct $roleCreateStruct |
| 1054 | 1054 | * |
| 1055 | - * @return \eZ\Publish\Core\FieldType\ValidationError[][][] |
|
| 1055 | + * @return \eZ\Publish\Core\FieldType\ValidationError[] |
|
| 1056 | 1056 | * |
| 1057 | 1057 | * @throws \eZ\Publish\API\Repository\Exceptions\InvalidArgumentException |
| 1058 | 1058 | */ |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * Loads list of aliases by given $locationId. |
| 106 | 106 | * |
| 107 | - * @param mixed $locationId |
|
| 107 | + * @param integer $locationId |
|
| 108 | 108 | * @param bool $custom |
| 109 | 109 | * @param mixed $languageId |
| 110 | 110 | * |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | * |
| 275 | 275 | * @param string $action |
| 276 | 276 | * @param mixed $languageId |
| 277 | - * @param mixed $newId |
|
| 277 | + * @param integer $newId |
|
| 278 | 278 | * @param mixed $parentId |
| 279 | 279 | * @param string $textMD5 |
| 280 | 280 | */ |
@@ -448,9 +448,9 @@ discard block |
||
| 448 | 448 | * |
| 449 | 449 | * Removes given $languageId from entry's language mask |
| 450 | 450 | * |
| 451 | - * @param mixed $parentId |
|
| 451 | + * @param integer $parentId |
|
| 452 | 452 | * @param string $textMD5 |
| 453 | - * @param mixed $languageId |
|
| 453 | + * @param integer $languageId |
|
| 454 | 454 | */ |
| 455 | 455 | protected function removeTranslation($parentId, $textMD5, $languageId) |
| 456 | 456 | { |
@@ -533,8 +533,8 @@ discard block |
||
| 533 | 533 | * |
| 534 | 534 | * Update includes history entries. |
| 535 | 535 | * |
| 536 | - * @param mixed $oldParentId |
|
| 537 | - * @param mixed $newParentId |
|
| 536 | + * @param integer $oldParentId |
|
| 537 | + * @param integer $newParentId |
|
| 538 | 538 | */ |
| 539 | 539 | public function reparent($oldParentId, $newParentId) |
| 540 | 540 | { |
@@ -680,7 +680,7 @@ discard block |
||
| 680 | 680 | /** |
| 681 | 681 | * Returns next value for "id" column. |
| 682 | 682 | * |
| 683 | - * @return mixed |
|
| 683 | + * @return integer |
|
| 684 | 684 | */ |
| 685 | 685 | public function getNextId() |
| 686 | 686 | { |
@@ -823,7 +823,7 @@ discard block |
||
| 823 | 823 | * Loads autogenerated entry id by given $action and optionally $parentId. |
| 824 | 824 | * |
| 825 | 825 | * @param string $action |
| 826 | - * @param mixed|null $parentId |
|
| 826 | + * @param integer $parentId |
|
| 827 | 827 | * |
| 828 | 828 | * @return array |
| 829 | 829 | */ |
@@ -1007,7 +1007,7 @@ discard block |
||
| 1007 | 1007 | /** |
| 1008 | 1008 | * Deletes single custom alias row matched by composite primary key. |
| 1009 | 1009 | * |
| 1010 | - * @param mixed $parentId |
|
| 1010 | + * @param integer $parentId |
|
| 1011 | 1011 | * @param string $textMD5 |
| 1012 | 1012 | * |
| 1013 | 1013 | * @return bool |
@@ -1045,10 +1045,10 @@ discard block |
||
| 1045 | 1045 | * |
| 1046 | 1046 | * If $id is set only autogenerated entries will be removed. |
| 1047 | 1047 | * |
| 1048 | - * @param mixed $action |
|
| 1049 | - * @param mixed|null $id |
|
| 1048 | + * @param string $action |
|
| 1049 | + * @param integer $id |
|
| 1050 | 1050 | * |
| 1051 | - * @return bool |
|
| 1051 | + * @return boolean|null |
|
| 1052 | 1052 | */ |
| 1053 | 1053 | public function remove($action, $id = null) |
| 1054 | 1054 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * |
| 48 | 48 | * @param \eZ\Publish\SPI\Persistence\Content\UrlWildcard $urlWildcard |
| 49 | 49 | * |
| 50 | - * @return mixed |
|
| 50 | + * @return integer |
|
| 51 | 51 | */ |
| 52 | 52 | public function insertUrlWildcard(UrlWildcard $urlWildcard) |
| 53 | 53 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * Deletes the UrlWildcard with given $id. |
| 93 | 93 | * |
| 94 | - * @param mixed $id |
|
| 94 | + * @param integer $id |
|
| 95 | 95 | */ |
| 96 | 96 | public function deleteUrlWildcard($id) |
| 97 | 97 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * Loads an array with data about UrlWildcard with $id. |
| 113 | 113 | * |
| 114 | - * @param mixed $id |
|
| 114 | + * @param integer $id |
|
| 115 | 115 | * |
| 116 | 116 | * @return array |
| 117 | 117 | */ |
@@ -138,8 +138,8 @@ discard block |
||
| 138 | 138 | /** |
| 139 | 139 | * Loads an array with data about UrlWildcards (paged). |
| 140 | 140 | * |
| 141 | - * @param mixed $offset |
|
| 142 | - * @param mixed $limit |
|
| 141 | + * @param integer $offset |
|
| 142 | + * @param integer $limit |
|
| 143 | 143 | * |
| 144 | 144 | * @return array |
| 145 | 145 | */ |
@@ -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; |
@@ -39,9 +39,7 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * Can receive as many tuples of array( argumentName ), argumentValue as necessary. |
| 41 | 41 | * |
| 42 | - * @param $argumentString |
|
| 43 | - * @param string $dynamicSettingName .. |
|
| 44 | - * @param string $dynamicSettingValue .. |
|
| 42 | + * @param string $argumentString |
|
| 45 | 43 | * |
| 46 | 44 | * @return string |
| 47 | 45 | */ |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace eZ\Bundle\EzPublishDebugBundle\Twig; |
| 10 | 10 | |
| 11 | 11 | use Symfony\Component\Filesystem\Filesystem; |
| 12 | -use Twig\Source; |
|
| 13 | 12 | use Twig\Template; |
| 14 | 13 | |
| 15 | 14 | /** |