@@ -55,7 +55,6 @@ |
||
| 55 | 55 | * |
| 56 | 56 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 57 | 57 | * |
| 58 | - * @param string|array(string) $... Either a string with a logical expression name or an array with logical expressions. |
|
| 59 | 58 | * |
| 60 | 59 | * @return \eZ\Publish\Core\Persistence\Database\UpdateQuery |
| 61 | 60 | */ |
@@ -27,16 +27,19 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * Begin a transaction. |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function beginTransaction(); |
| 32 | 33 | |
| 33 | 34 | /** |
| 34 | 35 | * Commit a transaction. |
| 36 | + * @return void |
|
| 35 | 37 | */ |
| 36 | 38 | public function commit(); |
| 37 | 39 | |
| 38 | 40 | /** |
| 39 | 41 | * Rollback a transaction. |
| 42 | + * @return void |
|
| 40 | 43 | */ |
| 41 | 44 | public function rollBack(); |
| 42 | 45 | |
@@ -60,6 +63,7 @@ discard block |
||
| 60 | 63 | * Execute a query against the database. |
| 61 | 64 | * |
| 62 | 65 | * @param string $query |
| 66 | + * @return void |
|
| 63 | 67 | */ |
| 64 | 68 | public function exec($query); |
| 65 | 69 | |
@@ -68,7 +72,7 @@ discard block |
||
| 68 | 72 | * |
| 69 | 73 | * Statements are ducktyped, but need to work like PDOStatement. |
| 70 | 74 | * |
| 71 | - * @return object |
|
| 75 | + * @return \Doctrine\DBAL\Driver\Statement |
|
| 72 | 76 | */ |
| 73 | 77 | public function prepare($query); |
| 74 | 78 | |
@@ -138,8 +142,9 @@ discard block |
||
| 138 | 142 | * |
| 139 | 143 | * This is an optimization and works around the ezcDB implementation. |
| 140 | 144 | * |
| 141 | - * @param string $identifier |
|
| 142 | 145 | * |
| 146 | + * @param string $name |
|
| 147 | + * @param string $alias |
|
| 143 | 148 | * @return string |
| 144 | 149 | */ |
| 145 | 150 | public function alias($name, $alias); |
@@ -185,7 +190,7 @@ discard block |
||
| 185 | 190 | /** |
| 186 | 191 | * Returns underlying connection (e.g. Doctrine connection object). |
| 187 | 192 | * |
| 188 | - * @return mixed |
|
| 193 | + * @return \Doctrine\DBAL\Connection |
|
| 189 | 194 | */ |
| 190 | 195 | public function getConnection(); |
| 191 | 196 | } |