@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | * |
| 117 | 117 | * @param \eZ\Publish\SPI\Persistence\Content\Type\Group $group |
| 118 | 118 | * |
| 119 | - * @return mixed Group ID |
|
| 119 | + * @return string Group ID |
|
| 120 | 120 | */ |
| 121 | 121 | public function insertGroup(Group $group) |
| 122 | 122 | { |
@@ -409,8 +409,8 @@ discard block |
||
| 409 | 409 | /** |
| 410 | 410 | * Insert assignment of $typeId to $groupId. |
| 411 | 411 | * |
| 412 | - * @param mixed $groupId |
|
| 413 | - * @param mixed $typeId |
|
| 412 | + * @param integer $groupId |
|
| 413 | + * @param integer $typeId |
|
| 414 | 414 | * @param int $status |
| 415 | 415 | */ |
| 416 | 416 | public function insertGroupAssignment($groupId, $typeId, $status) |
@@ -441,8 +441,8 @@ discard block |
||
| 441 | 441 | /** |
| 442 | 442 | * Deletes a group assignments for a Type. |
| 443 | 443 | * |
| 444 | - * @param mixed $groupId |
|
| 445 | - * @param mixed $typeId |
|
| 444 | + * @param integer $groupId |
|
| 445 | + * @param integer $typeId |
|
| 446 | 446 | * @param int $status |
| 447 | 447 | */ |
| 448 | 448 | public function deleteGroupAssignment($groupId, $typeId, $status) |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | /** |
| 495 | 495 | * Loads data about Group with $identifier. |
| 496 | 496 | * |
| 497 | - * @param mixed $identifier |
|
| 497 | + * @param string $identifier |
|
| 498 | 498 | * |
| 499 | 499 | * @return string[][] |
| 500 | 500 | */ |
@@ -553,7 +553,7 @@ discard block |
||
| 553 | 553 | /** |
| 554 | 554 | * Loads data for all Types in $status in $groupId. |
| 555 | 555 | * |
| 556 | - * @param mixed $groupId |
|
| 556 | + * @param integer $groupId |
|
| 557 | 557 | * @param int $status |
| 558 | 558 | * |
| 559 | 559 | * @return string[][] |
@@ -590,7 +590,7 @@ discard block |
||
| 590 | 590 | /** |
| 591 | 591 | * Inserts a $fieldDefinition for $typeId. |
| 592 | 592 | * |
| 593 | - * @param mixed $typeId |
|
| 593 | + * @param integer $typeId |
|
| 594 | 594 | * @param int $status |
| 595 | 595 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 596 | 596 | * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition $storageFieldDef |
@@ -751,9 +751,9 @@ discard block |
||
| 751 | 751 | /** |
| 752 | 752 | * Deletes a field definition. |
| 753 | 753 | * |
| 754 | - * @param mixed $typeId |
|
| 754 | + * @param integer $typeId |
|
| 755 | 755 | * @param int $status |
| 756 | - * @param mixed $fieldDefinitionId |
|
| 756 | + * @param integer $fieldDefinitionId |
|
| 757 | 757 | */ |
| 758 | 758 | public function deleteFieldDefinition($typeId, $status, $fieldDefinitionId) |
| 759 | 759 | { |
@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | /** |
| 785 | 785 | * Updates a $fieldDefinition for $typeId. |
| 786 | 786 | * |
| 787 | - * @param mixed $typeId |
|
| 787 | + * @param integer $typeId |
|
| 788 | 788 | * @param int $status |
| 789 | 789 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 790 | 790 | * @param \eZ\Publish\Core\Persistence\Legacy\Content\StorageFieldDefinition $storageFieldDef |
@@ -847,7 +847,7 @@ discard block |
||
| 847 | 847 | /** |
| 848 | 848 | * Update a type with $updateStruct. |
| 849 | 849 | * |
| 850 | - * @param mixed $typeId |
|
| 850 | + * @param integer $typeId |
|
| 851 | 851 | * @param int $status |
| 852 | 852 | * @param \eZ\Publish\SPI\Persistence\Content\Type\UpdateStruct $updateStruct |
| 853 | 853 | */ |
@@ -880,7 +880,7 @@ discard block |
||
| 880 | 880 | /** |
| 881 | 881 | * Loads an array with data about $typeId in $status. |
| 882 | 882 | * |
| 883 | - * @param mixed $typeId |
|
| 883 | + * @param integer $typeId |
|
| 884 | 884 | * @param int $status |
| 885 | 885 | * |
| 886 | 886 | * @return array Data rows. |
@@ -940,7 +940,7 @@ discard block |
||
| 940 | 940 | * Loads an array with data about the type referred to by $remoteId in |
| 941 | 941 | * $status. |
| 942 | 942 | * |
| 943 | - * @param mixed $remoteId |
|
| 943 | + * @param string $remoteId |
|
| 944 | 944 | * @param int $status |
| 945 | 945 | * |
| 946 | 946 | * @return array(int=>array(string=>mixed)) Data rows. |
@@ -1141,7 +1141,7 @@ discard block |
||
| 1141 | 1141 | /** |
| 1142 | 1142 | * Returns a handler to test with $methods mocked. |
| 1143 | 1143 | * |
| 1144 | - * @param array $methods |
|
| 1144 | + * @param string[] $methods |
|
| 1145 | 1145 | * |
| 1146 | 1146 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\Type\Handler |
| 1147 | 1147 | */ |
@@ -1177,7 +1177,7 @@ discard block |
||
| 1177 | 1177 | /** |
| 1178 | 1178 | * Returns a mapper mock. |
| 1179 | 1179 | * |
| 1180 | - * @param array $methods |
|
| 1180 | + * @param string[] $methods |
|
| 1181 | 1181 | * |
| 1182 | 1182 | * @return \eZ\Publish\Core\Persistence\Legacy\Content\Type\Mapper |
| 1183 | 1183 | */ |
@@ -612,7 +612,7 @@ |
||
| 612 | 612 | * @throws \eZ\Publish\Core\REST\Server\Exceptions\ForbiddenException |
| 613 | 613 | * @throws \eZ\Publish\Core\REST\Common\Exceptions\NotFoundException |
| 614 | 614 | * |
| 615 | - * @return \eZ\Publish\Core\REST\Server\Values\FieldDefinitionList |
|
| 615 | + * @return Values\RestFieldDefinition |
|
| 616 | 616 | */ |
| 617 | 617 | public function updateContentTypeDraftFieldDefinition($contentTypeId, $fieldDefinitionId, Request $request) |
| 618 | 618 | { |