File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class VueDirective
11
11
*/
12
12
public static function end () : string
13
13
{
14
- return '<?php echo \Jhoff\BladeVue\Component::end(); ?> ' ;
14
+ return '</div>< ?php echo \Jhoff\BladeVue\Component::end(); ?> ' ;
15
15
}
16
16
17
17
/**
@@ -22,6 +22,6 @@ public static function end() : string
22
22
*/
23
23
public static function start (string $ expression ) : string
24
24
{
25
- return "<?php echo \Jhoff\BladeVue\Component::start( $ expression); ?> " ;
25
+ return "<?php echo \Jhoff\BladeVue\Component::start( $ expression); ?><div> " ;
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function startDirectiveReturnsCorrectPhpBlock()
16
16
$ code = VueDirective::start ('"component", ["foo" => "bar"] ' );
17
17
18
18
$ this ->assertEquals (
19
- '<?php echo \Jhoff\BladeVue\Component::start("component", ["foo" => "bar"]); ?> ' ,
19
+ '<?php echo \Jhoff\BladeVue\Component::start("component", ["foo" => "bar"]); ?><div> ' ,
20
20
$ code
21
21
);
22
22
}
@@ -29,7 +29,7 @@ public function endDirectiveReturnsCorrectPhpBlock()
29
29
$ code = VueDirective::end ();
30
30
31
31
$ this ->assertEquals (
32
- '<?php echo \Jhoff\BladeVue\Component::end(); ?> ' ,
32
+ '</div>< ?php echo \Jhoff\BladeVue\Component::end(); ?> ' ,
33
33
$ code
34
34
);
35
35
}
You can’t perform that action at this time.
0 commit comments