@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | /** |
259 | 259 | * Gets last operation error, if any |
260 | 260 | * @access public |
261 | - * @return WSClientError The error object |
|
261 | + * @return boolean The error object |
|
262 | 262 | */ |
263 | 263 | public function getLastError() |
264 | 264 | { |
@@ -616,8 +616,8 @@ discard block |
||
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) |