@@ -26,16 +26,19 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Begin a transaction. |
| 29 | + * @return void |
|
| 29 | 30 | */ |
| 30 | 31 | public function beginTransaction(); |
| 31 | 32 | |
| 32 | 33 | /** |
| 33 | 34 | * Commit a transaction. |
| 35 | + * @return void |
|
| 34 | 36 | */ |
| 35 | 37 | public function commit(); |
| 36 | 38 | |
| 37 | 39 | /** |
| 38 | 40 | * Rollback a transaction. |
| 41 | + * @return void |
|
| 39 | 42 | */ |
| 40 | 43 | public function rollBack(); |
| 41 | 44 | |
@@ -59,6 +62,7 @@ discard block |
||
| 59 | 62 | * Execute a query against the database. |
| 60 | 63 | * |
| 61 | 64 | * @param string $query |
| 65 | + * @return void |
|
| 62 | 66 | */ |
| 63 | 67 | public function exec($query); |
| 64 | 68 | |
@@ -67,7 +71,7 @@ discard block |
||
| 67 | 71 | * |
| 68 | 72 | * Statements are ducktyped, but need to work like PDOStatement. |
| 69 | 73 | * |
| 70 | - * @return object |
|
| 74 | + * @return \Doctrine\DBAL\Statement |
|
| 71 | 75 | */ |
| 72 | 76 | public function prepare($query); |
| 73 | 77 | |
@@ -137,8 +141,9 @@ discard block |
||
| 137 | 141 | * |
| 138 | 142 | * This is an optimization and works around the ezcDB implementation. |
| 139 | 143 | * |
| 140 | - * @param string $identifier |
|
| 141 | 144 | * |
| 145 | + * @param string $name |
|
| 146 | + * @param string $alias |
|
| 142 | 147 | * @return string |
| 143 | 148 | */ |
| 144 | 149 | public function alias($name, $alias); |
@@ -167,7 +172,7 @@ discard block |
||
| 167 | 172 | * @param string $table |
| 168 | 173 | * @param string $column |
| 169 | 174 | * |
| 170 | - * @return mixed |
|
| 175 | + * @return string |
|
| 171 | 176 | */ |
| 172 | 177 | public function getAutoIncrementValue($table, $column); |
| 173 | 178 | |
@@ -184,7 +189,7 @@ discard block |
||
| 184 | 189 | /** |
| 185 | 190 | * Returns underlying connection (e.g. Doctrine connection object). |
| 186 | 191 | * |
| 187 | - * @return mixed |
|
| 192 | + * @return \Doctrine\DBAL\Connection |
|
| 188 | 193 | */ |
| 189 | 194 | public function getConnection(); |
| 190 | 195 | } |
@@ -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 | |
@@ -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 | */ |
@@ -373,7 +373,7 @@ discard block |
||
| 373 | 373 | /** |
| 374 | 374 | * Create Insert Query object. |
| 375 | 375 | * |
| 376 | - * @return \eZ\Publish\Core\Persistence\Database\InsertQuery |
|
| 376 | + * @return string |
|
| 377 | 377 | */ |
| 378 | 378 | public function createInsertQuery() |
| 379 | 379 | { |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | /** |
| 394 | 394 | * Create a Delete Query object. |
| 395 | 395 | * |
| 396 | - * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery |
|
| 396 | + * @return string |
|
| 397 | 397 | */ |
| 398 | 398 | public function createDeleteQuery() |
| 399 | 399 | { |
@@ -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 | { |
@@ -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 | */ |
@@ -81,7 +81,6 @@ discard block |
||
| 81 | 81 | * |
| 82 | 82 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
| 83 | 83 | * |
| 84 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
| 85 | 84 | * |
| 86 | 85 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
| 87 | 86 | */ |
@@ -153,7 +152,6 @@ discard block |
||
| 153 | 152 | * |
| 154 | 153 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters.. |
| 155 | 154 | * |
| 156 | - * @param string|array(string) $... Either a string with a column name or an array of column names. |
|
| 157 | 155 | * |
| 158 | 156 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery returns a pointer to $this. |
| 159 | 157 | */ |
@@ -182,7 +180,6 @@ discard block |
||
| 182 | 180 | * |
| 183 | 181 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 184 | 182 | * |
| 185 | - * @param string|array(string) $... Either a string with a table name or an array of table names. |
|
| 186 | 183 | * |
| 187 | 184 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
| 188 | 185 | */ |
@@ -246,8 +243,6 @@ discard block |
||
| 246 | 243 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
| 247 | 244 | * invoked without preceding call to from(). |
| 248 | 245 | * |
| 249 | - * @param string $table2,... The table to join with, followed by either the |
|
| 250 | - * two join columns, or a join condition. |
|
| 251 | 246 | * |
| 252 | 247 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 253 | 248 | */ |
@@ -334,8 +329,6 @@ discard block |
||
| 334 | 329 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
| 335 | 330 | * invoked without preceding call to from(). |
| 336 | 331 | * |
| 337 | - * @param string $table2,... The table to join with, followed by either the |
|
| 338 | - * two join columns, or a join condition. |
|
| 339 | 332 | * |
| 340 | 333 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 341 | 334 | */ |
@@ -390,8 +383,6 @@ discard block |
||
| 390 | 383 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with inconsistent parameters or if |
| 391 | 384 | * invoked without preceding call to from(). |
| 392 | 385 | * |
| 393 | - * @param string $table2,... The table to join with, followed by either the |
|
| 394 | - * two join columns, or a join condition. |
|
| 395 | 386 | * |
| 396 | 387 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 397 | 388 | */ |
@@ -417,8 +408,6 @@ discard block |
||
| 417 | 408 | * |
| 418 | 409 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 419 | 410 | * |
| 420 | - * @param string|array(string) $... Either a string with a logical expression name |
|
| 421 | - * or an array with logical expressions. |
|
| 422 | 411 | * |
| 423 | 412 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery |
| 424 | 413 | */ |
@@ -509,7 +498,6 @@ discard block |
||
| 509 | 498 | * |
| 510 | 499 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 511 | 500 | * |
| 512 | - * @param string $column a column name in the result set |
|
| 513 | 501 | * |
| 514 | 502 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
| 515 | 503 | */ |
@@ -539,8 +527,6 @@ discard block |
||
| 539 | 527 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException |
| 540 | 528 | * if called with no parameters. |
| 541 | 529 | * |
| 542 | - * @param string|array(string) $... Either a string with a logical expression name |
|
| 543 | - * or an array with logical expressions. |
|
| 544 | 530 | * |
| 545 | 531 | * @return \eZ\Publish\Core\Persistence\Database\SelectQuery a pointer to $this |
| 546 | 532 | */ |
@@ -79,8 +79,6 @@ |
||
| 79 | 79 | * |
| 80 | 80 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 81 | 81 | * |
| 82 | - * @param string|array(string) $... Either a string with a logical expression name |
|
| 83 | - * or an array with logical expressions. |
|
| 84 | 82 | * |
| 85 | 83 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
| 86 | 84 | */ |
@@ -416,7 +416,7 @@ discard block |
||
| 416 | 416 | /** |
| 417 | 417 | * For given $languageIds returns array with language codes as keys. |
| 418 | 418 | * |
| 419 | - * @param array $languageIds |
|
| 419 | + * @param integer[] $languageIds |
|
| 420 | 420 | * |
| 421 | 421 | * @return array |
| 422 | 422 | */ |
@@ -436,7 +436,7 @@ discard block |
||
| 436 | 436 | * @param \eZ\Publish\SPI\Persistence\Content\Field[] $fields |
| 437 | 437 | * @param array $languageCodes |
| 438 | 438 | * |
| 439 | - * @return \eZ\Publish\SPI\Persistence\Content\Field[][] |
|
| 439 | + * @return Content |
|
| 440 | 440 | */ |
| 441 | 441 | protected function getFieldMap(array $fields, &$languageCodes = null) |
| 442 | 442 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * |
| 29 | 29 | * @note Class should instead be configured as service if it gains dependencies. |
| 30 | 30 | * |
| 31 | - * @return Float |
|
| 31 | + * @return FloatConverter |
|
| 32 | 32 | */ |
| 33 | 33 | public static function create() |
| 34 | 34 | { |
@@ -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 | { |