Merge pull request #300 from pjona/patch-2

[5.4] Replaced full class namespace from string to `::class` syntax
This commit is contained in:
Matt Lantz authored and GitHub committed 2017-04-25 19:37:34 -04:00
commit 532065460d
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];
}
}