Skip to content

Commit

Permalink
[11.x] Fix make:listener command (#52924)
Browse files Browse the repository at this point in the history
* [11.x] Fix make:listener command

* Update ListenerMakeCommand.php
  • Loading branch information
iamgergo committed Sep 25, 2024
1 parent 09aaeb4 commit 86fa45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Console/ListenerMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function getStub()
*/
protected function alreadyExists($rawName)
{
return class_exists($rawName);
return class_exists($this->qualifyClass($rawName));
}

/**
Expand Down

0 comments on commit 86fa45e

Please sign in to comment.