@@ -145,7 +145,6 @@ discard block |
||
145 | 145 | * |
146 | 146 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
147 | 147 | * |
148 | - * @param string|array(string) $... |
|
149 | 148 | * |
150 | 149 | * @return string an expression |
151 | 150 | */ |
@@ -172,7 +171,6 @@ discard block |
||
172 | 171 | * |
173 | 172 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
174 | 173 | * |
175 | - * @param string|array(string) $... |
|
176 | 174 | * |
177 | 175 | * @return string an expression |
178 | 176 | */ |
@@ -199,7 +197,6 @@ discard block |
||
199 | 197 | * |
200 | 198 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
201 | 199 | * |
202 | - * @param string|array(string) $... |
|
203 | 200 | * |
204 | 201 | * @return string an expression |
205 | 202 | */ |
@@ -226,7 +223,6 @@ discard block |
||
226 | 223 | * |
227 | 224 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
228 | 225 | * |
229 | - * @param string|array(string) $... |
|
230 | 226 | * |
231 | 227 | * @return string an expression |
232 | 228 | */ |
@@ -381,7 +377,6 @@ discard block |
||
381 | 377 | * empty array. |
382 | 378 | * |
383 | 379 | * @param string $column the value that should be matched against |
384 | - * @param string|array(string) $... values that will be matched against $column |
|
385 | 380 | * |
386 | 381 | * @return string logical expression |
387 | 382 | */ |
@@ -622,7 +617,6 @@ discard block |
||
622 | 617 | * concat() accepts an arbitrary number of parameters. Each parameter |
623 | 618 | * must contain an expression or an array with expressions. |
624 | 619 | * |
625 | - * @param string|array(string) $... strings that will be concatinated. |
|
626 | 620 | */ |
627 | 621 | public function concat() |
628 | 622 | { |
@@ -753,7 +747,6 @@ discard block |
||
753 | 747 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
754 | 748 | * |
755 | 749 | * @param string $type the type of operation, can be '+', '-', '*' or '/'. |
756 | - * @param string|array(string) $... |
|
757 | 750 | * |
758 | 751 | * @return string an expression |
759 | 752 | */ |
@@ -67,7 +67,7 @@ |
||
67 | 67 | * "sort_key_int" or "sort_key_string". This column is then used for |
68 | 68 | * filtering and sorting for this type. |
69 | 69 | * |
70 | - * @return string |
|
70 | + * @return boolean |
|
71 | 71 | */ |
72 | 72 | public function getIndexColumn() |
73 | 73 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * Update name and identifier of a section. |
62 | 62 | * |
63 | - * @param mixed $id |
|
63 | + * @param integer $id |
|
64 | 64 | * @param string $name |
65 | 65 | * @param string $identifier |
66 | 66 | * |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Get section data. |
83 | 83 | * |
84 | - * @param mixed $id |
|
84 | + * @param integer $id |
|
85 | 85 | * |
86 | 86 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If section is not found |
87 | 87 | * |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | * content objects. Make sure that no content objects are associated with |
173 | 173 | * the section any more *before* calling this method. |
174 | 174 | * |
175 | - * @param mixed $id |
|
175 | + * @param integer $id |
|
176 | 176 | */ |
177 | 177 | public function delete($id) |
178 | 178 | { |
@@ -189,8 +189,8 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Assigns section to single content object. |
191 | 191 | * |
192 | - * @param mixed $sectionId |
|
193 | - * @param mixed $contentId |
|
192 | + * @param integer $sectionId |
|
193 | + * @param integer $contentId |
|
194 | 194 | */ |
195 | 195 | public function assign($sectionId, $contentId) |
196 | 196 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | /** |
213 | 213 | * Number of role policies using a Section in limitations. |
214 | 214 | * |
215 | - * @param mixed $sectionId |
|
215 | + * @param integer $sectionId |
|
216 | 216 | * |
217 | 217 | * @return int |
218 | 218 | */ |
@@ -762,7 +762,7 @@ discard block |
||
762 | 762 | /** |
763 | 763 | * Test for the loadLocationChildren() method. |
764 | 764 | * |
765 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
765 | + * @return LocationList |
|
766 | 766 | * |
767 | 767 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset) |
768 | 768 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren |
@@ -826,7 +826,7 @@ discard block |
||
826 | 826 | /** |
827 | 827 | * Test for the loadLocationChildren() method. |
828 | 828 | * |
829 | - * @return \eZ\Publish\API\Repository\Values\Content\Location[] |
|
829 | + * @return LocationList |
|
830 | 830 | * |
831 | 831 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit) |
832 | 832 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildren |
@@ -855,7 +855,7 @@ discard block |
||
855 | 855 | /** |
856 | 856 | * Test for the loadLocationChildren() method. |
857 | 857 | * |
858 | - * @param \eZ\Publish\API\Repository\Values\Content\Location[] $locations |
|
858 | + * @param LocationList $locations |
|
859 | 859 | * |
860 | 860 | * @see \eZ\Publish\API\Repository\LocationService::loadLocationChildren($location, $offset, $limit) |
861 | 861 | * @depends eZ\Publish\API\Repository\Tests\LocationServiceTest::testLoadLocationChildrenWithOffsetAndLimit |
@@ -2127,7 +2127,7 @@ discard block |
||
2127 | 2127 | * Assert generated aliases to expected alias return. |
2128 | 2128 | * |
2129 | 2129 | * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService |
2130 | - * @param array $expectedAliases |
|
2130 | + * @param string[] $expectedAliases |
|
2131 | 2131 | */ |
2132 | 2132 | protected function assertGeneratedAliases($urlAliasService, array $expectedAliases) |
2133 | 2133 | { |
@@ -2139,7 +2139,7 @@ discard block |
||
2139 | 2139 | |
2140 | 2140 | /** |
2141 | 2141 | * @param \eZ\Publish\API\Repository\URLAliasService $urlAliasService |
2142 | - * @param array $expectedSubItemAliases |
|
2142 | + * @param string[] $expectedSubItemAliases |
|
2143 | 2143 | */ |
2144 | 2144 | private function assertAliasesBeforeCopy($urlAliasService, array $expectedSubItemAliases) |
2145 | 2145 | { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | * |
114 | 114 | * @param string $path The content path |
115 | 115 | * @param array $fields |
116 | - * @param mixed $contentType The content type identifier |
|
116 | + * @param string $contentType The content type identifier |
|
117 | 117 | * |
118 | 118 | * @return mixed location id of the created content |
119 | 119 | */ |
@@ -147,6 +147,7 @@ discard block |
||
147 | 147 | |
148 | 148 | /** |
149 | 149 | * Maps the path of the content to it's name for later use. |
150 | + * @param string $path |
|
150 | 151 | */ |
151 | 152 | private function mapContentPath($path) |
152 | 153 | { |