@@ -145,6 +145,7 @@ |
||
| 145 | 145 | /** |
| 146 | 146 | * Check if raw data is coherent with current database model |
| 147 | 147 | * |
| 148 | + * @param resource $raw_data |
|
| 148 | 149 | * @return bool |
| 149 | 150 | */ |
| 150 | 151 | abstract public function checkRawData($raw_data); |
@@ -97,6 +97,9 @@ |
||
| 97 | 97 | |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param string $fetch_mode |
|
| 102 | + */ |
|
| 100 | 103 | private static function selectFetchMode($fetch_mode) { |
| 101 | 104 | |
| 102 | 105 | if ( $fetch_mode == Database::FETCH_NUM ) return MYSQLI_NUM; |
@@ -945,7 +945,7 @@ discard block |
||
| 945 | 945 | * |
| 946 | 946 | * @param string $query |
| 947 | 947 | * |
| 948 | - * @return QueryResult |
|
| 948 | + * @return Results\QueryResultInterface |
|
| 949 | 949 | * |
| 950 | 950 | * @throws \Comodojo\Exception\DatabaseException |
| 951 | 951 | */ |
@@ -962,7 +962,7 @@ discard block |
||
| 962 | 962 | * |
| 963 | 963 | * @param string $query |
| 964 | 964 | * |
| 965 | - * @return mixed |
|
| 965 | + * @return resource |
|
| 966 | 966 | * |
| 967 | 967 | * @throws \Comodojo\Exception\DatabaseException |
| 968 | 968 | */ |