Implement new config to specify return type of custom relations (#1300)

* Implement new config to specify return type of custom relations

* Apply suggestions from code review

Co-authored-by: Markus Podar <[email protected]>

* add test for morphed

* fix test output

* add info about how to add custom relationships

* fix wording

Co-authored-by: Markus Podar <[email protected]>
This commit is contained in:
Jefemy
2022-05-22 20:07:54 +02:00
committed by GitHub
co-authored by Markus Podar
parent a567f73140
commit ee9188acf1
10 changed files with 167 additions and 2 deletions
+1
View File
@@ -30,6 +30,7 @@ All notable changes to this project will be documented in this file.
### Added
- Add support for custom casts that using `Castable` [#1287 / binotaliu](https://github.com/barryvdh/laravel-ide-helper/pull/1287)
- Added Laravel 9 support [#1297 / rcerljenko](https://github.com/barryvdh/laravel-ide-helper/pull/1297)
- Added option `additional_relation_return_types` for custom relations that don't fit the typical naming scheme
2022-01-03, 2.11.0
------------------