diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index aa3bf46..607e448 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -490,7 +490,7 @@ class ModelsCommand extends Command $phpdoc->appendTag($tag); } - if ($this->write) { + if ($this->write && ! $phpdoc->getTagsByName('mixin')) { $phpdoc->appendTag(Tag::createInstance("@mixin \\Eloquent", $phpdoc)); }