Skip to content

Commit 8c99e19

Browse files
committed
Type-hint Illuminate\Contracts\Container\Container instead of Illuminate\Contracts\Foundation\Application (lowest level type needed)
1 parent ff45ee6 commit 8c99e19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Storage/FluentStorageServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace LucaDegasperi\OAuth2Server\Storage;
1313

14-
use Illuminate\Contracts\Foundation\Application;
14+
use Illuminate\Contracts\Container\Container as Application;
1515
use Illuminate\Support\ServiceProvider;
1616
use League\OAuth2\Server\Storage\AccessTokenInterface;
1717
use League\OAuth2\Server\Storage\AuthCodeInterface;

tests/functional/bootstrap/FeatureContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ protected function getPackageProviders()
127127
/**
128128
* Define environment setup.
129129
*
130-
* @param \Illuminate\Foundation\Application $app
130+
* @param \Illuminate\Contracts\Container\Container $app
131131
*
132132
* @return void
133133
*/

0 commit comments

Comments
 (0)