@@ -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 | */ |