mirror of
https://github.com/filp/whoops.git
synced 2026-09-05 15:08:19 +00:00
Silex Provider: move Run::register() to Provider::register
This commit is contained in:
@@ -30,13 +30,11 @@ class DamnitServiceProvider implements ServiceProviderInterface
|
||||
});
|
||||
|
||||
$app->error(array($app['damnit'], Run::EXCEPTION_HANDLER));
|
||||
$app['damnit']->register();
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Silex\ServiceProviderInterface::boot
|
||||
*/
|
||||
public function boot(Application $app)
|
||||
{
|
||||
$app['damnit']->register();
|
||||
}
|
||||
public function boot(Application $app) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user