mirror of
https://github.com/Intervention/image.git
synced 2025-08-28 16:19:50 +02:00
Fix undefined method
Share method will be removed as of Laravel 5.4
1a1969b6e6 (diff-52441e04e14c52275cd5d09e8f958981L300)
This commit is contained in:
@@ -47,7 +47,7 @@ class ImageServiceProviderLaravel5 extends ServiceProvider
|
|||||||
);
|
);
|
||||||
|
|
||||||
// create image
|
// create image
|
||||||
$app['image'] = $app->share(function ($app) {
|
$app->singleton('image', function ($app) {
|
||||||
return new ImageManager($app['config']->get('image'));
|
return new ImageManager($app['config']->get('image'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user