Fatal error: Uncaught TypeError: Argument 1 passed to {closure}() must be an instance of Interop\Container\ContainerInterface, instance of Slim\Container given, called in /var/www/html/vendor/pimple/pimple/src/Pimple/Container.php on line 122 and defined in /var/www/html/src/dependencies.php:131
Stack trace:
#0 /var/www/html/vendor/pimple/pimple/src/Pimple/Container.php(122): {closure}()
#1 /var/www/html/vendor/slim/slim/Slim/Container.php(109): Pimple\Container->offsetGet()
#2 /var/www/html/vendor/slim/slim/Slim/App.php(726): Slim\Container->get()
#3 /var/www/html/vendor/slim/slim/Slim/App.php(396): Slim\App->handlePhpError()
#4 /var/www/html/vendor/slim/slim/Slim/App.php(297): Slim\App->process()
#5 /var/www/html/public/index.php(37): Slim\App->run()
#6 {main}
thrown in /var/www/html/src/dependencies.php on line 131