Fix issue where \Eloquent is not included when using write_mixin (#1352)

* Check for exact mixin name when writing

* changelog

* add mixin to test class

Co-authored-by: Barry vd. Heuvel <[email protected]>
This commit is contained in:
Jefemy
2022-08-11 12:39:26 +02:00
committed by GitHub
co-authored by Barry vd. Heuvel
parent 07f5eaea73
commit c8f0f914e3
3 changed files with 12 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
### Fixes
- Fix return type of methods provided by `SoftDeletes` [#1345 / KentarouTakeda](https://github.com/barryvdh/laravel-ide-helper/pull/1345)
- Handle PHP 8.1 deprecation warnings when passing `null` to `new \ReflectionClass` [#1351 / mfn](https://github.com/barryvdh/laravel-ide-helper/pull/1351)
- Fix issue where \Eloquent is not included when using write_mixin [#1352 / Jefemy](https://github.com/barryvdh/laravel-ide-helper/pull/1352)
- Fix model factory method arguments for Laravel >= 9 [#1361 / wimski](https://github.com/barryvdh/laravel-ide-helper/pull/1361)
2022-03-06, 2.12.3