More style fixes

This commit is contained in:
mlantz committed 2016-04-06 15:18:08 -04:00
1 parent 04f921062e
commit 67b3289891
1 file changed
-2
-2
View File
@@ -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; ?>";
});