Skip to content

Commit

Permalink
Merge pull request #25 from digitalhuman/patch-3
Browse files Browse the repository at this point in the history
Float doesn't have a based option
  • Loading branch information
alaouy committed Mar 15, 2016
2 parents 97a0982 + f15e566 commit 024b064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Alaouy/Youtube/YoutubeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function register()
$this->publishes(array(__DIR__ . '/../../config/youtube.php' => config_path('youtube.php')));

//Laravel 5.1+ fix
if(floatval(Application::VERSION,10) >= 5.1){
if(floatval(Application::VERSION) >= 5.1){
$this->app->bind("youtube", null, true, function(){
return $this->app->make('Alaouy\Youtube\Youtube', [config('youtube.KEY')]);
});
Expand Down

0 comments on commit 024b064

Please sign in to comment.