Skip to content

Commit 49f542b

Browse files
authored
Fix indention for Blade component inline (#33102)
1 parent b280edd commit 49f542b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Console/ComponentMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function buildClass($name)
8080
if ($this->option('inline')) {
8181
return str_replace(
8282
'DummyView',
83-
"<<<'blade'\n<div>\n ".Inspiring::quote()."\n</div>\nblade",
83+
"<<<'blade'\n <div>\n ".Inspiring::quote()."\n </div>\n blade",
8484
parent::buildClass($name)
8585
);
8686
}

0 commit comments

Comments
 (0)