Update ModelsCommand.php

This commit is contained in:
Barry vd. Heuvel
2023-01-22 14:47:04 +01:00
committed by GitHub
parent f055d42b39
commit 9b3d5cab7c
+1 -1
View File
@@ -935,7 +935,7 @@ class ModelsCommand extends Command
// remove the already existing tag to prevent duplicates // remove the already existing tag to prevent duplicates
foreach ($phpdoc->getTagsByName('mixin') as $tag) { foreach ($phpdoc->getTagsByName('mixin') as $tag) {
if($tag->getContent() === $eloquentClassNameInModel) { if ($tag->getContent() === $eloquentClassNameInModel) {
$phpdoc->deleteTag($tag); $phpdoc->deleteTag($tag);
} }
} }