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