Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
javiereguiluz opened this issue Mar 10, 2015 · 1 comment

Comments

@javiereguiluz
Copy link
Collaborator

in Configuration/Configurator.php, line 160

This entityFields local variable is declared but never used. You should remove it.

     * @param  array $entityConfiguration
     * @return array The list of fields to show and their metadata
     */
    private function getFieldsForListAction(array $entityConfiguration)
    {
        $entityFields = array();

        // there is a custom configuration for 'list' fields
        if (count($entityConfiguration['list']['fields']) > 0) {
            return $this->normalizeFieldsConfiguration('list', $entityConfiguration);
        }

Posted from SensioLabsInsight

javiereguiluz added a commit that referenced this issue Mar 10, 2015
@javiereguiluz
Copy link
Collaborator Author

Fixed in 684cb84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant