@@ -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 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * Returns a language handler mock. |
37 | 37 | * |
38 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler |
|
38 | + * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler |
|
39 | 39 | */ |
40 | 40 | protected function getLanguageHandler() |
41 | 41 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * Create user. |
41 | 41 | * |
42 | - * @param user $user |
|
42 | + * @param User $user |
|
43 | 43 | * |
44 | 44 | * @return mixed |
45 | 45 | */ |
@@ -338,7 +338,7 @@ discard block |
||
338 | 338 | /** |
339 | 339 | * Remove role from user or user group, by assignment ID. |
340 | 340 | * |
341 | - * @param mixed $roleAssignmentId |
|
341 | + * @param integer $roleAssignmentId |
|
342 | 342 | */ |
343 | 343 | public function removeRoleAssignmentById($roleAssignmentId) |
344 | 344 | { |