1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-12 08:54:03 +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() public function register()
{ {
$this->app['image'] = $this->app->share( $app = $this->app;
$app['image'] = $app->share(
function ($app) { function ($app) {
return new ImageManager($app['config']); return new ImageManager($app['config']);
} }