mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Add support for Carbon serialization options (#1324)
* Add Carbon serialization option handling * Tests Added * Add changelog * Spellcheck
This commit is contained in:
@@ -362,6 +362,10 @@ class ModelsCommand extends Command
|
||||
$type = 'decimal';
|
||||
} elseif (Str::startsWith($type, 'custom_datetime:')) {
|
||||
$type = 'date';
|
||||
} elseif (Str::startsWith($type, 'date:')) {
|
||||
$type = 'date';
|
||||
} elseif (Str::startsWith($type, 'datetime:')) {
|
||||
$type = 'date';
|
||||
} elseif (Str::startsWith($type, 'immutable_custom_datetime:')) {
|
||||
$type = 'immutable_date';
|
||||
} elseif (Str::startsWith($type, 'encrypted:')) {
|
||||
|
||||
Reference in New Issue
Block a user