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