Skip to content

Commit

Permalink
Merge pull request #24 from CesarLanderos/patch-1
Browse files Browse the repository at this point in the history
Updated the fpdf service provider for Laravel 5.4
  • Loading branch information
anouarabdsslm authored Feb 16, 2017
2 parents 8bfcc61 + 833c8a3 commit 2ed4067
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Anouar/Fpdf/FpdfServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class FpdfServiceProvider extends ServiceProvider {
*/
public function register()
{
$this->app['fpdf'] = $this->app->share(function($app)
{
$this->app->singleton('fpdf', function($app) {
return new Fpdf;
});
}
Expand All @@ -34,4 +33,4 @@ public function provides()
return array('fpdf');
}

}
}

0 comments on commit 2ed4067

Please sign in to comment.