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:
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user