1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-01 11:30:16 +02:00

Fixing service provider for 5.3

This commit is contained in:
Oliver Vogel
2014-05-15 17:01:11 +02:00
parent e8e7251b9d
commit 3e4683d11c

View File

@@ -28,7 +28,8 @@ class ImageServiceProvider extends ServiceProvider {
*/
public function register()
{
$this->app['image'] = $this->app->share(
$app = $this->app;
$app['image'] = $app->share(
function ($app) {
return new ImageManager($app['config']);
}