diff --git a/contrib/search_api_views/includes/query.inc b/contrib/search_api_views/includes/query.inc index 8b1083e..958470b 100644 --- a/contrib/search_api_views/includes/query.inc +++ b/contrib/search_api_views/includes/query.inc @@ -180,21 +180,25 @@ public function add_orderby($table, $field = NULL, $order = 'ASC', $alias = '', } /** - * Add a field to the query table. + * Adds a field to the query table. * - * @param $table + * This is copied from the views_plugin_query_default class so that + * third-party modules which assume it's always present will work correctly + * with Search API Views. + * + * @param string $table * Ignored. - * @param $field + * @param string $field * The name of the field to add. - * @param $alias + * @param string $alias * Ignored. - * @param $params + * @param array $params * Ignored. * - * @see SearchApiViewsQuery::addField - * - * @return $name + * @return string * The name of the field added. + * + * @see SearchApiViewsQuery::addField */ function add_field($table, $field, $alias = '', $params = array()) { return $this->addField($field);