Incompatibility with Laravel Tags
Versions:
- ide-helper Version: 2.9.0
- PHP Version: 8.0.4
- laravel-tags: 4.0.1
Description:
Cannot add IdeHelper mixin to model that uses tags from https://github.com/spatie/laravel-tags
Exception: Call to undefined method ReflectionUnionType::getName()
Could not analyze class App\Models\THE_MODEL_NAME
Steps To Reproduce:
Fresh installation, add a model that has "use HasTags;" from https://github.com/spatie/laravel-tags Then regenerate .phpstorm.meta.php
Might be already fixed with https://github.com/barryvdh/laravel-ide-helper/pull/1132 (can't say), but there was no release either.
Can you try the -dev version?
@mfn You're right, the -dev version fixed it. I won't mark it as resolved I guess until the dev is merged?
@RJFares makes sense :)
@barryvdh would you mind if we cut a new release?
Does that bug fixed? Same error for me
OP already said it's fixed with the dev version, that was 3 years ago; there have been numerous releases since -> closing