@@ -22,11 +22,11 @@ |
||
22 | 22 | */ |
23 | 23 | public function register() |
24 | 24 | { |
25 | - Blade::directive('vue', function ($expression) { |
|
25 | + Blade::directive('vue', function($expression) { |
|
26 | 26 | return VueDirective::start($expression); |
27 | 27 | }); |
28 | 28 | |
29 | - Blade::directive('endvue', function () { |
|
29 | + Blade::directive('endvue', function() { |
|
30 | 30 | return VueDirective::end(); |
31 | 31 | }); |
32 | 32 | } |
@@ -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 | /** |
@@ -22,6 +22,6 @@ |
||
22 | 22 | */ |
23 | 23 | public static function start(string $expression) : string |
24 | 24 | { |
25 | - return "<?php echo \Jhoff\BladeVue\Component::start($expression); ?><div>"; |
|
25 | + return "<?php echo \Jhoff\BladeVue\Component::start($expression); ?><div>"; |
|
26 | 26 | } |
27 | 27 | } |