Skip to content

Commit

Permalink
Changed bindShared to singleton for L5.2 compatiblilty.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrushton committed Jan 19, 2016
1 parent 5822c24 commit 9763ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UploadServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function register()
__DIR__.'/../config/upload.php', 'upload'
);

$this->app->bindShared('upload.form', function($app)
$this->app->singleton('upload.form', function($app)
{
$form = new FormBuilder();

Expand Down

0 comments on commit 9763ed5

Please sign in to comment.