Replaced full class namespace from string to ::class syntax

This commit is contained in:
Marek Skiba authored and GitHub committed 2017-02-24 11:16:55 +01:00
1 parent 7570f25d58
commit a469abdc56
1 file changed
+3 -3
+3 -3
View File
@@ -25,8 +25,8 @@ class HtmlServiceProvider extends ServiceProvider
$this->registerFormBuilder();
$this->app->alias('html', 'Collective\Html\HtmlBuilder');
$this->app->alias('form', 'Collective\Html\FormBuilder');
$this->app->alias('html', HtmlBuilder::class);
$this->app->alias('form', FormBuilder::class);
}
/**
@@ -62,6 +62,6 @@ class HtmlServiceProvider extends ServiceProvider
*/
public function provides()
{
return ['html', 'form', 'Collective\Html\HtmlBuilder', 'Collective\Html\FormBuilder'];
return ['html', 'form', HtmlBuilder::class, FormBuilder::class];
}
}