@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * Inserts a new content object. |
35 | 35 | * |
36 | 36 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
37 | - * @param mixed $currentVersionNo |
|
37 | + * @param integer $currentVersionNo |
|
38 | 38 | * |
39 | 39 | * @return int ID |
40 | 40 | */ |
@@ -331,8 +331,6 @@ discard block |
||
331 | 331 | * Loads data of related to/from $contentId. |
332 | 332 | * |
333 | 333 | * @param int $contentId |
334 | - * @param bool $reverse Reverse relation, default false |
|
335 | - * @param int $contentVersionNo |
|
336 | 334 | * @param int $relationType |
337 | 335 | * |
338 | 336 | * @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()} |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * Inserts a new content object. |
66 | 66 | * |
67 | 67 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
68 | - * @param mixed $currentVersionNo |
|
68 | + * @param integer $currentVersionNo |
|
69 | 69 | * |
70 | 70 | * @return int ID |
71 | 71 | */ |
@@ -618,8 +618,6 @@ discard block |
||
618 | 618 | * Loads data of related to/from $contentId. |
619 | 619 | * |
620 | 620 | * @param int $contentId |
621 | - * @param bool $reverse Reverse relation, default false |
|
622 | - * @param int $contentVersionNo |
|
623 | 621 | * @param int $relationType |
624 | 622 | * |
625 | 623 | * @return mixed[][] Content data, array structured like {@see \eZ\Publish\Core\Persistence\Legacy\Content\Gateway::load()} |
@@ -658,7 +656,6 @@ discard block |
||
658 | 656 | /** |
659 | 657 | * Inserts a new relation database record. |
660 | 658 | * |
661 | - * @param \eZ\Publish\SPI\Persistence\Content\Relation\CreateStruct $createStruct |
|
662 | 659 | * |
663 | 660 | * @return int ID the inserted ID |
664 | 661 | */ |
@@ -140,7 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Delete a language. |
142 | 142 | * |
143 | - * @param mixed $id |
|
143 | + * @param integer $id |
|
144 | 144 | */ |
145 | 145 | public function delete($id) |
146 | 146 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Creates a Content from the given $struct and $currentVersionNo. |
59 | 59 | * |
60 | 60 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
61 | - * @param mixed $currentVersionNo |
|
61 | + * @param integer $currentVersionNo |
|
62 | 62 | * |
63 | 63 | * @return \eZ\Publish\SPI\Persistence\Content\ContentInfo |
64 | 64 | */ |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * Creates a new version for the given $struct and $versionNo. |
90 | 90 | * |
91 | 91 | * @param \eZ\Publish\SPI\Persistence\Content\CreateStruct $struct |
92 | - * @param mixed $versionNo |
|
92 | + * @param integer $versionNo |
|
93 | 93 | * |
94 | 94 | * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo |
95 | 95 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * Creates a new version for the given $content. |
124 | 124 | * |
125 | 125 | * @param \eZ\Publish\SPI\Persistence\Content $content |
126 | - * @param mixed $versionNo |
|
126 | + * @param integer $versionNo |
|
127 | 127 | * @param mixed $userId |
128 | 128 | * |
129 | 129 | * @return \eZ\Publish\SPI\Persistence\Content\VersionInfo |
@@ -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 | { |
@@ -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(); |
@@ -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 | { |