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
+2 -2
View File
@@ -935,14 +935,14 @@ class ModelsCommand extends Command
// remove the already existing tag to prevent duplicates
foreach ($phpdoc->getTagsByName('mixin') as $tag) {
if($tag->getContent() === $eloquentClassNameInModel) {
if ($tag->getContent() === $eloquentClassNameInModel) {
$phpdoc->deleteTag($tag);
}
}
$phpdoc->appendTag(Tag::createInstance('@mixin ' . $eloquentClassNameInModel, $phpdoc));
}
if ($this->phpstorm_noinspections) {
/**
* Facades, Eloquent API