Skip to content

Commit 22e3efc

Browse files
authored
Update ComponentMakeCommand.php (#43446)
1 parent 603202f commit 22e3efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Foundation/Console/ComponentMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ protected function writeView($onSuccess = null)
9292
file_put_contents(
9393
$path,
9494
'<div>
95-
<!-- '.Inspiring::quote().' -->
95+
<!-- '.Inspiring::quotes()->random().' -->
9696
</div>'
9797
);
9898

@@ -112,7 +112,7 @@ protected function buildClass($name)
112112
if ($this->option('inline')) {
113113
return str_replace(
114114
['DummyView', '{{ view }}'],
115-
"<<<'blade'\n<div>\n <!-- ".Inspiring::quote()." -->\n</div>\nblade",
115+
"<<<'blade'\n<div>\n <!-- ".Inspiring::quotes()->random()." -->\n</div>\nblade",
116116
parent::buildClass($name)
117117
);
118118
}

0 commit comments

Comments
 (0)