Skip to content

Commit ff45ee6

Browse files
committed
Merge pull request #646 from lucadegasperi/lumen52
Add Lumen 5.2 support
2 parents 7b0c76d + be11acc commit ff45ee6

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## 5.1.2 (released 2016-01-13)
4+
5+
- Fix Lumen 5.2 support bug
6+
37
## 5.1.1 (released 2015-12-22)
48

59
- Fix Laravel 5.2 support bug

src/OAuth2ServerServiceProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace LucaDegasperi\OAuth2Server;
1313

14-
use Illuminate\Contracts\Foundation\Application;
14+
use Illuminate\Contracts\Container\Container as Application;
1515
use Illuminate\Foundation\Application as LaravelApplication;
1616
use Illuminate\Support\ServiceProvider;
1717
use Laravel\Lumen\Application as LumenApplication;
@@ -49,7 +49,7 @@ public function boot()
4949
/**
5050
* Setup the config.
5151
*
52-
* @param \Illuminate\Contracts\Foundation\Application $app
52+
* @param \Illuminate\Contracts\Container\Container $app
5353
*
5454
* @return void
5555
*/
@@ -69,7 +69,7 @@ protected function setupConfig(Application $app)
6969
/**
7070
* Setup the migrations.
7171
*
72-
* @param \Illuminate\Contracts\Foundation\Application $app
72+
* @param \Illuminate\Contracts\Container\Container $app
7373
*
7474
* @return void
7575
*/
@@ -96,7 +96,7 @@ public function register()
9696
/**
9797
* Register the Authorization server with the IoC container.
9898
*
99-
* @param \Illuminate\Contracts\Foundation\Application $app
99+
* @param \Illuminate\Contracts\Container\Container $app
100100
*
101101
* @return void
102102
*/
@@ -161,7 +161,7 @@ public function registerAuthorizer(Application $app)
161161
* Register the Middleware to the IoC container because
162162
* some middleware need additional parameters.
163163
*
164-
* @param \Illuminate\Contracts\Foundation\Application $app
164+
* @param \Illuminate\Contracts\Container\Container $app
165165
*
166166
* @return void
167167
*/

0 commit comments

Comments
 (0)