Tim

Results 2 issues of Tim

## The problem When casting Eloquent attributes to `spatie/laravel-data` Data objects, ide-helper doesn't pick the correct class. For example, the example from Spatie's documentation https://spatie.be/docs/laravel-data/v2/advanced-usage/eloquent-casting: ```php

Hi @fboulnois. I hope you don't mind me making this pull request. I wanted to give this a go to see if I could do it, and thought you might...