@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @param string $table |
| 68 | 68 | * |
| 69 | - * @return mixed |
|
| 69 | + * @return string |
|
| 70 | 70 | */ |
| 71 | 71 | public static function get_main_table($table) |
| 72 | 72 | { |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | |
| 266 | 266 | /** |
| 267 | 267 | * Frees all the memory associated with the provided result identifier. |
| 268 | - * @return bool Returns TRUE on success or FALSE on failure. |
|
| 268 | + * @return boolean|null Returns TRUE on success or FALSE on failure. |
|
| 269 | 269 | * Notes: Use this method if you are concerned about how much memory is being used for queries that return large result sets. |
| 270 | 270 | * Anyway, all associated result memory is automatically freed at the end of the script's execution. |
| 271 | 271 | */ |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | * @param array $attributes |
| 382 | 382 | * @param bool $show_query |
| 383 | 383 | * |
| 384 | - * @return bool|int |
|
| 384 | + * @return false|string |
|
| 385 | 385 | */ |
| 386 | 386 | public static function insert($table_name, $attributes, $show_query = false) |
| 387 | 387 | { |
@@ -674,7 +674,7 @@ discard block |
||
| 674 | 674 | } |
| 675 | 675 | |
| 676 | 676 | /** |
| 677 | - * @param $table |
|
| 677 | + * @param string $table |
|
| 678 | 678 | * @return \Doctrine\DBAL\Schema\Column[] |
| 679 | 679 | */ |
| 680 | 680 | public static function listTableColumns($table) |