1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-13 01:14:04 +02:00

Don't run service provider boot method if absent

This is an actual fix for #621
This commit is contained in:
Bart Nagel
2017-05-30 17:48:06 -07:00
parent b29b7946d6
commit c63d113976

View File

@@ -40,8 +40,10 @@ class ImageServiceProvider extends ServiceProvider
*/
public function boot()
{
if (method_exists($this->provider, 'boot')) {
return $this->provider->boot();
}
}
/**
* Register the service provider.