From 9b3d5cab7c7030cc3b78fc75681901e96c709de5 Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Sun, 22 Jan 2023 14:47:04 +0100 Subject: [PATCH] Update ModelsCommand.php --- src/Console/ModelsCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 9d78583..6f75bcc 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -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