@@ -616,8 +616,8 @@ |
||
616 | 616 | * Builds the query using the supplied parameters |
617 | 617 | * @param string $moduleName The name of the module / entity type |
618 | 618 | * @param array $params Data used to find the matching entries |
619 | - * @return array $select The list of fields to select (defaults to SQL-like '*' - all the fields) |
|
620 | - * @return int $limit limit the list of entries to N records (acts like LIMIT in SQL) |
|
619 | + * @return string $select The list of fields to select (defaults to SQL-like '*' - all the fields) |
|
620 | + * @return string $limit limit the list of entries to N records (acts like LIMIT in SQL) |
|
621 | 621 | * @return string The query build out of the supplied parameters |
622 | 622 | */ |
623 | 623 | private function buildQuery($moduleName, array $params, array $select = [], $limit = 0) |