Skip to content

Commit

Permalink
Merge pull request #28 from phpspider/master
Browse files Browse the repository at this point in the history
Upgrading to Laravel 5.2 from Laravel 5.1
  • Loading branch information
bllim committed Dec 24, 2015
2 parents 2eeaba1 + 072de01 commit c97f570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bllim/Laravalid/LaravalidServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public function register()

if(!isset($this->app['html']))
{
$this->app->bindShared('html', function($app)
$this->app->singleton('html', function($app)
{
return new \Collective\Html\HtmlBuilder($app['url']);
});
}

$this->app->bindShared('laravalid', function ($app) {
$this->app->singleton('laravalid', function ($app) {
$plugin = \Config::get('laravalid.plugin');
$converterClassName = 'Bllim\Laravalid\Converter\\'.$plugin.'\Converter';
$converter = new $converterClassName();
Expand Down

0 comments on commit c97f570

Please sign in to comment.