Fix declaration incompatibility with Slim\View