@@ -184,7 +184,7 @@ |
||
184 | 184 | * |
185 | 185 | * @param string $handle |
186 | 186 | * The handle of the section |
187 | - * @return integer |
|
187 | + * @return string |
|
188 | 188 | * The Section ID |
189 | 189 | */ |
190 | 190 | public static function fetchIDFromHandle($handle) |
@@ -1222,7 +1222,7 @@ discard block |
||
1222 | 1222 | * If the date type is set, only the calendar will be shown in the suggestion dropdown. |
1223 | 1223 | * |
1224 | 1224 | * @since Symphony 2.6.0 |
1225 | - * @return array |
|
1225 | + * @return string[] |
|
1226 | 1226 | */ |
1227 | 1227 | public function fetchSuggestionTypes() |
1228 | 1228 | { |
@@ -1337,7 +1337,7 @@ discard block |
||
1337 | 1337 | * @link http://dev.mysql.com/doc/refman/5.5/en/regexp.html |
1338 | 1338 | * @param string $filter |
1339 | 1339 | * The full filter, eg. `regexp: ^[a-d]` |
1340 | - * @param array $columns |
|
1340 | + * @param string[] $columns |
|
1341 | 1341 | * The array of columns that need the given `$filter` applied to. The conditions |
1342 | 1342 | * will be added using `OR`. |
1343 | 1343 | * @param string $joins |
@@ -1508,7 +1508,7 @@ discard block |
||
1508 | 1508 | * The data for this field from it's `tbl_entry_data_{id}` table |
1509 | 1509 | * @param integer $entry_id |
1510 | 1510 | * The optional id of this field entry instance |
1511 | - * @return string|array |
|
1511 | + * @return string |
|
1512 | 1512 | * The formatted value to be used as the parameter. Note that this can be |
1513 | 1513 | * an array or a string. When returning multiple values use array, otherwise |
1514 | 1514 | * use string. |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | * Returns the last insert ID from the previous query. This is |
354 | 354 | * the value from an auto_increment field. |
355 | 355 | * |
356 | - * @return integer |
|
356 | + * @return string |
|
357 | 357 | * The last interested row's ID |
358 | 358 | */ |
359 | 359 | public function getInsertID() |
@@ -380,7 +380,7 @@ discard block |
||
380 | 380 | * conflicts. By default this is set to false, which will not update the data and |
381 | 381 | * would return an SQL error |
382 | 382 | * @throws DatabaseException |
383 | - * @return boolean |
|
383 | + * @return PDOStatement |
|
384 | 384 | */ |
385 | 385 | public function insert(array $fields, $table, $updateOnDuplicate=false) |
386 | 386 | { |
@@ -443,7 +443,7 @@ discard block |
||
443 | 443 | * A WHERE statement for this UPDATE statement, defaults to null |
444 | 444 | * which will update all rows in the $table |
445 | 445 | * @param array $params |
446 | - * @return bool |
|
446 | + * @return PDOStatement |
|
447 | 447 | */ |
448 | 448 | public function update($fields, $table, $where = null, $params = array()) |
449 | 449 | { |
@@ -469,7 +469,7 @@ discard block |
||
469 | 469 | * A WHERE statement for this DELETE statement, defaults to null, |
470 | 470 | * which will delete all rows in the $table |
471 | 471 | * @throws DatabaseException |
472 | - * @return boolean |
|
472 | + * @return PDOStatement |
|
473 | 473 | */ |
474 | 474 | public function delete($table, $where = null, array $params = array()) |
475 | 475 | { |
@@ -695,7 +695,7 @@ discard block |
||
695 | 695 | * @throws Exception |
696 | 696 | * @param string $sql |
697 | 697 | * A string containing SQL queries delimited by `;` |
698 | - * @return boolean |
|
698 | + * @return boolean|null |
|
699 | 699 | * If one of the queries fails, false will be returned and no further queries |
700 | 700 | * will be executed, otherwise true will be returned. |
701 | 701 | */ |