Skip to content

Commit

Permalink
+ 5.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadeyeBro committed Feb 6, 2017
1 parent 95b22f5 commit 46607ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Ignited/LaravelOmnipay/BaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ public function register()
*/
public function registerManager()
{
$this->app['omnipay'] = $this->app->share(function($app)
{
$factory = new GatewayFactory;
$this->app->singleton('omnipay', function ($app) {
$factory = new GatewayFactory;
$manager = new LaravelOmnipayManager($app, $factory);

return $manager;
});
});
}

/**
Expand Down

0 comments on commit 46607ec

Please sign in to comment.