mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
feat: add support for AsEnumCollection casts (#1557)
* Adding support for casting to AsEnumCollection * Adding missing string to advanced_casts table for enum_collection * Added to snapshots and ArrayCastsWithComment * Update CHANGELOG.md * Reverted automated whitespace, strict changes * Updated test snapshots, tests passing * Whitespace revert --------- Co-authored-by: Barry vd. Heuvel <[email protected]>
This commit is contained in:
co-authored by
Barry vd. Heuvel
parent
67c00c0978
commit
672acce5ae
@@ -22,6 +22,7 @@ class SimpleCast extends Model
|
||||
'cast_to_array' => 'array',
|
||||
'cast_to_json' => 'json',
|
||||
'cast_to_collection' => 'collection',
|
||||
'cast_to_enum_collection' => 'collection',
|
||||
'cast_to_date' => 'date',
|
||||
'cast_to_datetime' => 'datetime',
|
||||
'cast_to_date_serialization' => 'date:Y-m-d',
|
||||
|
||||
Reference in New Issue
Block a user