We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60c8617 commit 42e65aeCopy full SHA for 42e65ae
src/Console/Commands/MakeCommand.php
@@ -44,7 +44,7 @@ protected function resolveStubName(): string
44
*/
45
protected function resolveStubPath($stub)
46
{
47
- return file_exists($customPath = $this->laravel->basePath(trim($stub, '/')))
+ return file_exists($customPath = $this->laravel->basePath(mb_trim($stub, '/')))
48
? $customPath
49
: __DIR__ . $stub;
50
}
0 commit comments