barryvdh / laravel-ide-helper

IDE Helper for Laravel
MIT License
14.17k stars 1.16k forks source link

Fix Castables issue #1312 #1388

Closed kwarcu closed 1 year ago

kwarcu commented 1 year ago

Summary

Fix for issue with Castables described in https://github.com/barryvdh/laravel-ide-helper/issues/1312 If type of a Castable can not be determined from return type of get method from castUsing()->CastsAttributes then the original Castable class should be used.

Type of change

Checklist

kwarcu commented 1 year ago

LGTM, but please don't ignore the PR template and add a changelog entry 🙏🏼

Thanks and sorry, that's my first ever PR to an Open Source repo so I'm not always sure about the protocol. I added the CHANGELOG.md entry.

barryvdh commented 1 year ago

Thanks!