More style fixes
This commit is contained in:
1 parent
04f921062e
commit
67b3289891
1 file changed
-2
@@ -79,10 +79,8 @@ class HtmlServiceProvider extends ServiceProvider
|
||||
{
|
||||
foreach ($methods as $method) {
|
||||
if (in_array($method, $this->directives)) {
|
||||
|
||||
$snakeMethod = Str::snake($method);
|
||||
$directive = strtolower($namespace).'_'.$snakeMethod;
|
||||
|
||||
Blade::directive($directive, function ($expression) use ($namespace, $method) {
|
||||
return "<?php echo $namespace::$method$expression; ?>";
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user