Skip to content

Commit

Permalink
Use container contract.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Aug 22, 2019
1 parent 994283e commit 8a8ee30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php-http/multipart-stream-builder": "^1.0"
},
"require-dev": {
"illuminate/support": "^5.8",
"illuminate/support": "^5.8 || ^6.0",
"laravie/parser": "^2.0",
"mockery/mockery": "^1.2",
"php-http/curl-client": "^1.7 || ^2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/SilverstreetServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Silverstreet\Laravel;

use Illuminate\Contracts\Foundation\Application;
use Illuminate\Contracts\Container\Container;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
use Laravie\Codex\Discovery;
Expand All @@ -17,7 +17,7 @@ class SilverstreetServiceProvider extends ServiceProvider implements DeferrableP
*/
public function register()
{
$this->app->singleton('silverstreet', function (Application $app) {
$this->app->singleton('silverstreet', function (Container $app) {
return $this->createSilverstreetClient(
$app->make('config')->get('services.silverstreet')
);
Expand Down

0 comments on commit 8a8ee30

Please sign in to comment.