Skip to content

ASolrSort method declaration in E_STRICT error mode #8

@cjaegle

Description

@cjaegle

I get the following error message when using a AsolrDataProvider in PHP E_STRICT error mode:

Declaration of ASolrSort::getOrderBy() should be compatible with that of CSort::getOrderBy()

I guess adding a parameter would fix this:

public function getOrderBy($criteria=null)
{
    throw new CException('Solr sorting does not support ORDER BY');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions