@@ -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 | { |
@@ -29,7 +29,8 @@ |
||
29 | 29 | use eZ\Publish\Core\REST\Common\RequestParser; |
30 | 30 | use eZ\Publish\Core\REST\Common\Input\Dispatcher; |
31 | 31 | use eZ\Publish\Core\REST\Common\Output\Visitor; |
32 | -use eZ\Publish\Core\REST\Common\Message; use eZ\Publish\Core\REST\Client\Exceptions\InvalidArgumentValue; |
|
32 | +use eZ\Publish\Core\REST\Common\Message; |
|
33 | +use eZ\Publish\Core\REST\Client\Exceptions\InvalidArgumentValue; |
|
33 | 34 | use eZ\Publish\Core\REST\Common\Exceptions\InvalidArgumentException; |
34 | 35 | use eZ\Publish\Core\REST\Common\Exceptions\ForbiddenException; |
35 | 36 | use eZ\Publish\Core\REST\Client\Exceptions\BadStateException; |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | namespace eZ\Publish\Core\REST\Server\Controller; |
12 | 12 | |
13 | 13 | use eZ\Publish\API\Repository\Exceptions\LimitationValidationException; |
14 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException; |
|
14 | +use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
|
15 | 15 | use eZ\Publish\Core\Base\Exceptions\ForbiddenException; |
16 | 16 | use eZ\Publish\Core\Base\Exceptions\InvalidArgumentException; |
17 | 17 | use eZ\Publish\Core\Base\Exceptions\UnauthorizedException; |
@@ -25,7 +25,6 @@ discard block |
||
25 | 25 | use eZ\Publish\API\Repository\LocationService; |
26 | 26 | use eZ\Publish\API\Repository\Values\User\RoleCreateStruct; |
27 | 27 | use eZ\Publish\API\Repository\Values\User\RoleUpdateStruct; |
28 | -use eZ\Publish\API\Repository\Exceptions\NotFoundException as APINotFoundException; |
|
29 | 28 | use Symfony\Component\HttpFoundation\Request; |
30 | 29 | |
31 | 30 | /** |