Skip to content

Commit e7f5497

Browse files
committed
Tweak binding names
1 parent 7f656ee commit e7f5497

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Barryvdh/Omnipay/Facade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ public static function creditCard($parameters = null)
1616
/**
1717
* {@inheritDoc}
1818
*/
19-
protected static function getFacadeAccessor() { return 'omnipay.manager'; }
19+
protected static function getFacadeAccessor() { return 'omnipay'; }
2020

2121
}

src/Barryvdh/Omnipay/ServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function boot()
2828
*/
2929
public function register()
3030
{
31-
$this->app['omnipay.manager'] = $this->app->share(function ($app){
31+
$this->app['omnipay'] = $this->app->share(function ($app){
3232
$defaults = $app['config']->get('laravel-omnipay::defaults', array());
3333
return new GatewayManager($app, new GatewayFactory, $defaults);
3434
});
@@ -41,6 +41,6 @@ public function register()
4141
*/
4242
public function provides()
4343
{
44-
return array('omnipay.manager');
44+
return array('omnipay');
4545
}
4646
}

0 commit comments

Comments
 (0)