Skip to content

Commit 3983e27

Browse files
authored
Merge pull request #37 from n0n0n0n0/master
5.4 support
2 parents 95b22f5 + 7c37a3b commit 3983e27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Ignited/LaravelOmnipay/BaseServiceProvider.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ public function register()
2727
*/
2828
public function registerManager()
2929
{
30-
$this->app['omnipay'] = $this->app->share(function($app)
31-
{
30+
$this->app->singleton('omnipay', function ($app) {
3231
$factory = new GatewayFactory;
3332
$manager = new LaravelOmnipayManager($app, $factory);
3433

0 commit comments

Comments
 (0)