Skip to content

Commit

Permalink
Merge pull request #37 from n0n0n0n0/master
Browse files Browse the repository at this point in the history
5.4 support
  • Loading branch information
alexw23 authored Feb 8, 2017
2 parents 95b22f5 + 7c37a3b commit 3983e27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Ignited/LaravelOmnipay/BaseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ public function register()
*/
public function registerManager()
{
$this->app['omnipay'] = $this->app->share(function($app)
{
$this->app->singleton('omnipay', function ($app) {
$factory = new GatewayFactory;
$manager = new LaravelOmnipayManager($app, $factory);

Expand Down

0 comments on commit 3983e27

Please sign in to comment.