Compare commits

...
Author SHA1 Message Date
Barry vd. Heuvel 9b3d5cab7c Update ModelsCommand.php 2023-01-22 14:47:04 +01:00
+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);
} }
} }