Skip to content

Commit 886e3aa

Browse files
committed
update the name in binding
1 parent 860a4a2 commit 886e3aa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Facades/Youtube.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class Youtube extends Facade
88
{
99
protected static function getFacadeAccessor()
1010
{
11-
return 'Madcoda\Youtube';
11+
return 'Madcoda\Youtube\Youtube';
1212
}
1313
}

src/YoutubeServiceProviderLaravel4.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function boot()
3333
*/
3434
public function register()
3535
{
36-
$this->app->bindShared('Madcoda\Youtube', function ($app) {
36+
$this->app->bindShared('Madcoda\Youtube\Youtube', function ($app) {
3737
return new Youtube($app['config']->get('php-youtube-api::youtube'));
3838
});
3939
}
@@ -45,6 +45,6 @@ public function register()
4545
*/
4646
public function provides()
4747
{
48-
return array('Madcoda\Youtube');
48+
return array('Madcoda\Youtube\Youtube');
4949
}
5050
}

src/YoutubeServiceProviderLaravel5.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->bind('Madcoda\Youtube', function ($app) {
31+
$this->app->bind('Madcoda\Youtube\Youtube', function ($app) {
3232
return new Youtube($app['config']->get('youtube'));
3333
});
3434
}
@@ -41,6 +41,6 @@ public function register()
4141
*/
4242
public function provides()
4343
{
44-
return ['Madcoda\Youtube'];
44+
return ['Madcoda\Youtube\Youtube'];
4545
}
4646
}

0 commit comments

Comments
 (0)