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,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user