anime-db / shikimori-new-items-widget-bundle

Widget for show new items on Shikimori.org
http://shikimori.org/
GNU General Public License v3.0
0 stars 0 forks source link

[Insight] Unused method, property, variable or parameter - in …/AnimeDbShikimoriNewItemsWidgetExtension.php, line 23 #9

Closed peter-gribanov closed 10 years ago

peter-gribanov commented 10 years ago

in src/AnimeDb/Bundle/ShikimoriNewItemsWidgetBundle/DependencyInjection/AnimeDbShikimoriNewItemsWidgetExtension.php, line 23

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

     * {@inheritDoc}
     */
    public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.yml');
    }
}