Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Insight] Unused method, property, variable or parameter - in Configuration/Configurator.php, line 215 #179

@javiereguiluz

Description

@javiereguiluz

in Configuration/Configurator.php, line 215

This entityConfiguration argument is declared but never used. You should remove it.

     * Returns the list of entity fields on which the search query is performed.
     *
     * @param  array $entityConfiguration
     * @return array The list of fields to use for the search
     */
    private function getFieldsForSearchAction(array $entityConfiguration)
    {
        $excludedFieldNames = array();
        $excludedFieldTypes = array('association', 'binary', 'blob', 'date', 'datetime', 'datetimetz', 'guid', 'time', 'object');

        return $this->filterFieldsByNameAndType($this->defaultEntityFields, $excludedFieldNames, $excludedFieldTypes);

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions