mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 02:23:11 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f98cbbd86c | ||
|
|
4ca8db247f | ||
|
|
29f874381e |
@@ -8,8 +8,6 @@ All notable changes to this project will be documented in this file.
|
||||
### Changed
|
||||
- Add support for multiple pivot types when using the same accessor.
|
||||
- Smarter reset, keep tags that IDE helper doesn't use
|
||||
- Use `numeric` type on fields with `decimal` casts
|
||||
|
||||
|
||||
2024-10-18, 3.2.0
|
||||
--------------
|
||||
|
||||
@@ -381,8 +381,6 @@ class ModelsCommand extends Command
|
||||
$realType = 'bool';
|
||||
break;
|
||||
case 'decimal':
|
||||
$realType = 'numeric';
|
||||
break;
|
||||
case 'string':
|
||||
case 'hashed':
|
||||
$realType = 'string';
|
||||
|
||||
@@ -14,7 +14,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property float $cast_to_real
|
||||
* @property float $cast_to_float
|
||||
* @property float $cast_to_double
|
||||
* @property numeric $cast_to_decimal
|
||||
* @property string $cast_to_decimal
|
||||
* @property string $cast_to_string
|
||||
* @property bool $cast_to_bool
|
||||
* @property bool $cast_to_boolean
|
||||
|
||||
Reference in New Issue
Block a user