@@ -47,7 +47,7 @@ |
||
| 47 | 47 | { |
| 48 | 48 | $attributes = $this->renderAttributes(); |
| 49 | 49 | |
| 50 | - return "<{$this->name}" . ($attributes ? ' ' . $attributes : '') . '>'; |
|
| 50 | + return "<{$this->name}".($attributes ? ' '.$attributes : '').'>'; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
@@ -23,20 +23,20 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function register() |
| 25 | 25 | { |
| 26 | - $this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) { |
|
| 27 | - $bladeCompiler->directive('vue', function ($expression) { |
|
| 26 | + $this->app->afterResolving('blade.compiler', function(BladeCompiler $bladeCompiler) { |
|
| 27 | + $bladeCompiler->directive('vue', function($expression) { |
|
| 28 | 28 | return Basic::start($expression); |
| 29 | 29 | }); |
| 30 | 30 | |
| 31 | - $bladeCompiler->directive('endvue', function () { |
|
| 31 | + $bladeCompiler->directive('endvue', function() { |
|
| 32 | 32 | return Basic::end(); |
| 33 | 33 | }); |
| 34 | 34 | |
| 35 | - $bladeCompiler->directive('inlinevue', function ($expression) { |
|
| 35 | + $bladeCompiler->directive('inlinevue', function($expression) { |
|
| 36 | 36 | return Inline::start($expression); |
| 37 | 37 | }); |
| 38 | 38 | |
| 39 | - $bladeCompiler->directive('endinlinevue', function () { |
|
| 39 | + $bladeCompiler->directive('endinlinevue', function() { |
|
| 40 | 40 | return Inline::end(); |
| 41 | 41 | }); |
| 42 | 42 | }); |