Jefemy

Results 6 comments of Jefemy

> Will this end up writing `@mixin \Eloquent` to the model class, or to the generated `_ide_helper_models.php` classes? It will put it in the generated `_ide_helper_models` class. This pull request...

> For the temporary work around, do you mean delete the `@mixin IdeHelperFoo` from the `Foo` model? Yes. In the current version any mixins existing on the original model will...

After running that command it appears to have fixed it even after reverting back to just the `-M` command. Must have just been an issue with my IntelliSense extension.

Actually I do think this is an issue. After looking into it some more I realized my output doesn't include the `@mixin \Eloquent` that the test case includes [here](https://github.com/georgeboot/laravel-ide-helper/blob/79b10da14b8ca98ce18a2c0ba281f22cd66613f9/tests/Console/ModelsCommand/GeneratePhpdocWithMixin/__snapshots__/Test__test__1.php#L184). This...

@mfn The change was actually [reverted](https://github.com/barryvdh/ReflectionDocBlock/commit/6eafab0ff39998bc4191a286f57ad0f355a85b09) and is pending some test fixes [here](https://github.com/barryvdh/ReflectionDocBlock/pull/11). I believe it is also the cause of #1401

This should be possible to fix without a model hook by adding the relationships to the config file https://github.com/barryvdh/laravel-ide-helper#custom-relationship-types