Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #26 from SceLPI/patch-1
Browse files Browse the repository at this point in the history
Modificação no php-sdk
  • Loading branch information
SOSTheBlack authored Jun 19, 2017
2 parents 5eab07b + a84cf1c commit 9b376c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Providers/MoipServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Artesaos\Moip\Moip;
use Illuminate\Support\ServiceProvider;
use Moip\Moip as Api;
use Moip\MoipBasicAuth;
use Moip\Auth\BasicAuth;

/**
* Class MoipServiceProvider.
Expand Down Expand Up @@ -35,7 +35,7 @@ public function boot()
public function register()
{
$this->app->singleton('moip', function(){
return new Moip(new Api(new MoipBasicAuth($this->app->make('config')->get('moip.credentials.token'), $this->app->make('config')->get('moip.credentials.key')), $this->getHomologated()));
return new Moip(new Api(new BasicAuth($this->app->make('config')->get('moip.credentials.token'), $this->app->make('config')->get('moip.credentials.key')), $this->getHomologated()));
});
}

Expand Down

0 comments on commit 9b376c9

Please sign in to comment.