@@ -90,7 +90,6 @@ discard block |
||
90 | 90 | * |
91 | 91 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
92 | 92 | * |
93 | - * @param string|array(string) $... |
|
94 | 93 | * |
95 | 94 | * @return string an expression |
96 | 95 | */ |
@@ -112,7 +111,6 @@ discard block |
||
112 | 111 | * |
113 | 112 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
114 | 113 | * |
115 | - * @param string|array(string) $... |
|
116 | 114 | * |
117 | 115 | * @return string an expression |
118 | 116 | */ |
@@ -134,7 +132,6 @@ discard block |
||
134 | 132 | * |
135 | 133 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
136 | 134 | * |
137 | - * @param string|array(string) $... |
|
138 | 135 | * |
139 | 136 | * @return string an expression |
140 | 137 | */ |
@@ -156,7 +153,6 @@ discard block |
||
156 | 153 | * |
157 | 154 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
158 | 155 | * |
159 | - * @param string|array(string) $... |
|
160 | 156 | * |
161 | 157 | * @return string an expression |
162 | 158 | */ |
@@ -293,7 +289,6 @@ discard block |
||
293 | 289 | * empty array. |
294 | 290 | * |
295 | 291 | * @param string $column the value that should be matched against |
296 | - * @param string|array(string) $... values that will be matched against $column |
|
297 | 292 | * |
298 | 293 | * @return string logical expression |
299 | 294 | */ |
@@ -458,7 +453,6 @@ discard block |
||
458 | 453 | * concat() accepts an arbitrary number of parameters. Each parameter |
459 | 454 | * must contain an expression or an array with expressions. |
460 | 455 | * |
461 | - * @param string|array(string) $... strings that will be concatinated. |
|
462 | 456 | */ |
463 | 457 | public function concat(); |
464 | 458 |
@@ -47,7 +47,6 @@ discard block |
||
47 | 47 | * |
48 | 48 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
49 | 49 | * |
50 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
51 | 50 | * |
52 | 51 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
53 | 52 | */ |
@@ -107,7 +106,6 @@ discard block |
||
107 | 106 | * |
108 | 107 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
109 | 108 | * |
110 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
111 | 109 | * |
112 | 110 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
113 | 111 | */ |
@@ -131,7 +129,6 @@ discard block |
||
131 | 129 | * |
132 | 130 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
133 | 131 | * |
134 | - * @param string|array(string) $... Either a string with a table name or an array of table names. |
|
135 | 132 | * |
136 | 133 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
137 | 134 | */ |
@@ -183,8 +180,6 @@ discard block |
||
183 | 180 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
184 | 181 | * invoked without preceding call to from(). |
185 | 182 | * |
186 | - * @param string $table2,... The table to join with, followed by either the |
|
187 | - * two join columns, or a join condition. |
|
188 | 183 | * |
189 | 184 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
190 | 185 | */ |
@@ -236,8 +231,6 @@ discard block |
||
236 | 231 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
237 | 232 | * invoked without preceding call to from(). |
238 | 233 | * |
239 | - * @param string $table2,... The table to join with, followed by either the |
|
240 | - * two join columns, or a join condition. |
|
241 | 234 | * |
242 | 235 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
243 | 236 | */ |
@@ -289,8 +282,6 @@ discard block |
||
289 | 282 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
290 | 283 | * invoked without preceding call to from(). |
291 | 284 | * |
292 | - * @param string $table2,... The table to join with, followed by either the |
|
293 | - * two join columns, or a join condition. |
|
294 | 285 | * |
295 | 286 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
296 | 287 | */ |
@@ -313,8 +304,6 @@ discard block |
||
313 | 304 | * |
314 | 305 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
315 | 306 | * |
316 | - * @param string|array(string) $... Either a string with a logical expression name |
|
317 | - * or an array with logical expressions. |
|
318 | 307 | * |
319 | 308 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
320 | 309 | */ |
@@ -378,7 +367,6 @@ discard block |
||
378 | 367 | * |
379 | 368 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
380 | 369 | * |
381 | - * @param string $column a column name in the result set |
|
382 | 370 | * |
383 | 371 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
384 | 372 | */ |
@@ -399,8 +387,6 @@ discard block |
||
399 | 387 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException |
400 | 388 | * if called with no parameters. |
401 | 389 | * |
402 | - * @param string|array(string) $... Either a string with a logical expression name |
|
403 | - * or an array with logical expressions. |
|
404 | 390 | * |
405 | 391 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
406 | 392 | */ |
@@ -54,8 +54,6 @@ |
||
54 | 54 | * |
55 | 55 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
56 | 56 | * |
57 | - * @param string|array(string) $... Either a string with a logical expression name |
|
58 | - * or an array with logical expressions. |
|
59 | 57 | * |
60 | 58 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
61 | 59 | */ |
@@ -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 | { |
@@ -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 | { |
@@ -228,6 +228,7 @@ |
||
228 | 228 | * |
229 | 229 | * @param string The field name |
230 | 230 | * @param mixed The field value |
231 | + * @param string|null $field |
|
231 | 232 | */ |
232 | 233 | private function createAndPublishContent($field, $value) |
233 | 234 | { |
@@ -64,9 +64,9 @@ discard block |
||
64 | 64 | * Search User with given username, optionally at given location. |
65 | 65 | * |
66 | 66 | * @param string $username name of User to search for |
67 | - * @param string $parentGroupLocationId where to search, in User Group tree |
|
67 | + * @param string $parentGroupId where to search, in User Group tree |
|
68 | 68 | * |
69 | - * @return User found |
|
69 | + * @return null|\eZ\Publish\API\Repository\Values\User\User found |
|
70 | 70 | */ |
71 | 71 | public function searchUserByLogin($username, $parentGroupId = null) |
72 | 72 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | * @param string $name name of User Group to search for |
98 | 98 | * @param string $parentLocationId (optional) parent location id to search in |
99 | 99 | * |
100 | - * @return search results |
|
100 | + * @return \eZ\Publish\API\Repository\Values\Content\Search\SearchHit[] results |
|
101 | 101 | */ |
102 | 102 | public function searchUserGroups($name, $parentLocationId = null) |
103 | 103 | { |
@@ -120,12 +120,12 @@ discard block |
||
120 | 120 | /** |
121 | 121 | * Create user inside given User Group; DELETES existing User if login already exists! |
122 | 122 | * |
123 | - * @param $username username of the user to create |
|
124 | - * @param $email email address of user to create |
|
125 | - * @param $password account password for user to create |
|
126 | - * @param $parentGroup pathstring wherein to create user |
|
123 | + * @param string $username username of the user to create |
|
124 | + * @param string $email email address of user to create |
|
125 | + * @param string $password account password for user to create |
|
126 | + * @param \eZ\Publish\API\Repository\Values\User\UserGroup $parentGroup pathstring wherein to create user |
|
127 | 127 | * |
128 | - * @return eZ\Publish\API\Repository\Values\User\User |
|
128 | + * @return \eZ\Publish\API\Repository\Values\User\User |
|
129 | 129 | */ |
130 | 130 | protected function createUser($username, $email, $password, $parentGroup = null, $fields = array()) |
131 | 131 | { |
@@ -319,6 +319,9 @@ discard block |
||
319 | 319 | return false; |
320 | 320 | } |
321 | 321 | |
322 | + /** |
|
323 | + * @param integer $type |
|
324 | + */ |
|
322 | 325 | public function createPasswordHash($login, $password, $type) |
323 | 326 | { |
324 | 327 | switch ($type) { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | protected $connection; |
25 | 25 | |
26 | 26 | /** |
27 | - * @param string|array $dsn |
|
27 | + * @param string $dsn |
|
28 | 28 | * |
29 | 29 | * @return \Doctrine\DBAL\Connection |
30 | 30 | */ |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | /** |
65 | 65 | * Create a Connection Handler with corresponding Doctrine connection from DSN. |
66 | 66 | * |
67 | - * @param string|array $dsn |
|
67 | + * @param string $dsn |
|
68 | 68 | * |
69 | 69 | * @return ConnectionHandler |
70 | 70 | */ |
@@ -455,8 +455,9 @@ discard block |
||
455 | 455 | * |
456 | 456 | * This is an optimization and works around the ezcDB implementation. |
457 | 457 | * |
458 | - * @param string $identifier |
|
459 | 458 | * |
459 | + * @param string $name |
|
460 | + * @param string $alias |
|
460 | 461 | * @return string |
461 | 462 | */ |
462 | 463 | public function alias($name, $alias) |
@@ -491,7 +492,7 @@ discard block |
||
491 | 492 | * @param string $table |
492 | 493 | * @param string $column |
493 | 494 | * |
494 | - * @return mixed |
|
495 | + * @return string |
|
495 | 496 | */ |
496 | 497 | public function getAutoIncrementValue($table, $column) |
497 | 498 | { |