Skip to content

Commit c97f570

Browse files
committed
Merge pull request #28 from phpspider/master
Upgrading to Laravel 5.2 from Laravel 5.1
2 parents 2eeaba1 + 072de01 commit c97f570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Bllim/Laravalid/LaravalidServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ public function register()
4343

4444
if(!isset($this->app['html']))
4545
{
46-
$this->app->bindShared('html', function($app)
46+
$this->app->singleton('html', function($app)
4747
{
4848
return new \Collective\Html\HtmlBuilder($app['url']);
4949
});
5050
}
5151

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

0 commit comments

Comments
 (0)