diff --git a/CHANGELOG.md b/CHANGELOG.md index d6725657..73431e77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 5.1.2 (released 2016-01-13) + +- Fix Lumen 5.2 support bug + ## 5.1.1 (released 2015-12-22) - Fix Laravel 5.2 support bug diff --git a/src/OAuth2ServerServiceProvider.php b/src/OAuth2ServerServiceProvider.php index c5fd9dd2..5b2badf6 100644 --- a/src/OAuth2ServerServiceProvider.php +++ b/src/OAuth2ServerServiceProvider.php @@ -11,7 +11,7 @@ namespace LucaDegasperi\OAuth2Server; -use Illuminate\Contracts\Foundation\Application; +use Illuminate\Contracts\Container\Container as Application; use Illuminate\Foundation\Application as LaravelApplication; use Illuminate\Support\ServiceProvider; use Laravel\Lumen\Application as LumenApplication; @@ -49,7 +49,7 @@ public function boot() /** * Setup the config. * - * @param \Illuminate\Contracts\Foundation\Application $app + * @param \Illuminate\Contracts\Container\Container $app * * @return void */ @@ -69,7 +69,7 @@ protected function setupConfig(Application $app) /** * Setup the migrations. * - * @param \Illuminate\Contracts\Foundation\Application $app + * @param \Illuminate\Contracts\Container\Container $app * * @return void */ @@ -96,7 +96,7 @@ public function register() /** * Register the Authorization server with the IoC container. * - * @param \Illuminate\Contracts\Foundation\Application $app + * @param \Illuminate\Contracts\Container\Container $app * * @return void */ @@ -161,7 +161,7 @@ public function registerAuthorizer(Application $app) * Register the Middleware to the IoC container because * some middleware need additional parameters. * - * @param \Illuminate\Contracts\Foundation\Application $app + * @param \Illuminate\Contracts\Container\Container $app * * @return void */