We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72de3ab commit fc180dbCopy full SHA for fc180db
src/Commands/RepositoryCommand.php
@@ -135,7 +135,7 @@ protected function createInterface()
135
*/
136
protected function createRepository(string $interface, string $fileName)
137
{
138
- if ($this->hasOption('cache')) $content = $this->fileManager->get($this->stubs['cache-repository']);
+ if ($this->option('cache')) $content = $this->fileManager->get($this->stubs['cache-repository']);
139
else $content = $this->fileManager->get($this->stubs['repository']);
140
141
$replacements = [
0 commit comments