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
@@ -9,6 +9,7 @@ use Illuminate\Database\Eloquent\Model;
/**
* @property $someProp
* @method someMethod(string $method)
* @mixin IdeHelperPost
*/
class Post extends Model
{