Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with Laravel Tags #1172

Closed
usernotnull opened this issue Mar 13, 2021 · 5 comments
Closed

Incompatibility with Laravel Tags #1172

usernotnull opened this issue Mar 13, 2021 · 5 comments
Labels

Comments

@usernotnull
Copy link

usernotnull commented Mar 13, 2021

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

@mfn
Copy link
Collaborator

mfn commented Mar 13, 2021

Might be already fixed with #1132 (can't say), but there was no release either.

Can you try the -dev version?

@usernotnull
Copy link
Author

usernotnull commented Mar 13, 2021

@mfn You're right, the -dev version fixed it.
I won't mark it as resolved I guess until the dev is merged?

@mfn
Copy link
Collaborator

mfn commented Mar 13, 2021

@RJFares makes sense :)

@barryvdh would you mind if we cut a new release?

@cmzz
Copy link

cmzz commented May 8, 2021

Does that bug fixed? Same error for me

@mfn
Copy link
Collaborator

mfn commented Feb 16, 2024

OP already said it's fixed with the dev version, that was 3 years ago; there have been numerous releases since -> closing

@mfn mfn closed this as completed Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants