Skip to content

Commit 4d706f1

Browse files
author
Mark Bailey
authored
Removed unnecessary code
Removed $this->app['omnipay'] as this is no longer needed
1 parent 68434be commit 4d706f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function register()
2121
$configPath = __DIR__ . '/../config/omnipay.php';
2222
$this->publishes([$configPath => config_path('omnipay.php')]);
2323

24-
$this->app['omnipay'] = $this->app->singleton('omnipay',function ($app){
24+
$this->app->singleton('omnipay',function ($app){
2525
$defaults = $app['config']->get('omnipay.defaults', array());
2626
return new GatewayManager($app, new GatewayFactory, $defaults);
2727
});

0 commit comments

Comments
 (0)