@@ -41,7 +41,7 @@ |
||
41 | 41 | * @param string $name |
42 | 42 | * @param string $identifier |
43 | 43 | * |
44 | - * @return int The ID of the new section |
|
44 | + * @return string The ID of the new section |
|
45 | 45 | */ |
46 | 46 | public function insertSection($name, $identifier) |
47 | 47 | { |
@@ -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. |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * @param \eZ\Publish\SPI\Persistence\Content\Type\Group\CreateStruct $createStruct |
73 | 73 | * |
74 | - * @return Group |
|
74 | + * @return Type\Group |
|
75 | 75 | */ |
76 | 76 | public function createGroup(GroupCreateStruct $createStruct) |
77 | 77 | { |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | } |
139 | 139 | |
140 | 140 | /** |
141 | - * @return Group[] |
|
141 | + * @return Type\Group[] |
|
142 | 142 | */ |
143 | 143 | public function loadAllGroups() |
144 | 144 | { |
@@ -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 string |
|
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 | { |
@@ -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 | */ |
@@ -21,7 +21,6 @@ |
||
21 | 21 | * Creates a new exception for $typeId in $status;. |
22 | 22 | * |
23 | 23 | * @param mixed $typeGroupId |
24 | - * @param mixed $status |
|
25 | 24 | */ |
26 | 25 | public function __construct($typeGroupId) |
27 | 26 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use eZ\Publish\SPI\Persistence\Content\ContentInfo; |
5 | 5 | use eZ\Publish\SPI\Persistence\Content\Field; |
6 | 6 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
7 | -use eZ\Publish\SPI\Persistence\Content\Location; |
|
8 | 7 | use eZ\Publish\SPI\Persistence\Content\VersionInfo; |
9 | 8 | |
10 | 9 | $content = new Content(); |
@@ -1430,7 +1430,7 @@ |
||
1430 | 1430 | /** |
1431 | 1431 | * Returns a TreeHandler mock. |
1432 | 1432 | * |
1433 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler |
|
1433 | + * @return \eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler |
|
1434 | 1434 | */ |
1435 | 1435 | protected function getTreeHandlerMock() |
1436 | 1436 | { |
@@ -1011,7 +1011,7 @@ discard block |
||
1011 | 1011 | /** |
1012 | 1012 | * Returns a Mapper mock. |
1013 | 1013 | * |
1014 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper|\PHPUnit_Framework_MockObject_MockObject |
|
1014 | + * @return \eZ\Publish\Core\Persistence\Legacy\Content\Mapper |
|
1015 | 1015 | */ |
1016 | 1016 | protected function getMapperMock() |
1017 | 1017 | { |
@@ -1031,7 +1031,7 @@ discard block |
||
1031 | 1031 | /** |
1032 | 1032 | * Returns a mock object for the Content Gateway. |
1033 | 1033 | * |
1034 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway|\PHPUnit_Framework_MockObject_MockObject |
|
1034 | + * @return \eZ\Publish\Core\Persistence\Legacy\Content\Gateway |
|
1035 | 1035 | */ |
1036 | 1036 | protected function getContentGatewayMock() |
1037 | 1037 | { |
@@ -1045,7 +1045,7 @@ discard block |
||
1045 | 1045 | } |
1046 | 1046 | |
1047 | 1047 | /** |
1048 | - * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry|\PHPUnit_Framework_MockObject_MockObject |
|
1048 | + * @return \eZ\Publish\Core\Persistence\FieldTypeRegistry |
|
1049 | 1049 | */ |
1050 | 1050 | protected function getFieldTypeRegistryMock() |
1051 | 1051 | { |
@@ -352,7 +352,7 @@ |
||
352 | 352 | /** |
353 | 353 | * Returns an array with 2 languages. |
354 | 354 | * |
355 | - * @return \eZ\Publish\SPI\Persistence\Content\Language[] |
|
355 | + * @return Language[] |
|
356 | 356 | */ |
357 | 357 | protected function getLanguagesFixture() |
358 | 358 | { |