Skip to content

Commit 86fa45e

Browse files
authored
[11.x] Fix make:listener command (#52924)
* [11.x] Fix make:listener command * Update ListenerMakeCommand.php
1 parent 09aaeb4 commit 86fa45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Console/ListenerMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function getStub()
104104
*/
105105
protected function alreadyExists($rawName)
106106
{
107-
return class_exists($rawName);
107+
return class_exists($this->qualifyClass($rawName));
108108
}
109109

110110
/**

0 commit comments

Comments
 (0)