mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b3d5cab7c |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user