diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index b5cb107..b350caf 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -673,7 +673,7 @@ class ModelsCommand extends Command $comment = $this->getCommentFromDocBlock($reflection); $this->setProperty($name, null, null, true, $comment); } - } elseif (Str::startsWith($method, 'scope') && $method !== 'scopeQuery') { + } elseif (Str::startsWith($method, 'scope') && $method !== 'scopeQuery' && $method !== 'scope' && $method !== 'scopes') { //Magic setAttribute $name = Str::camel(substr($method, 5)); if (!empty($name)) {