mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #6067 from ionas/patch-3
2.6.2: cake bake / ModelTask should respect decimal
This commit is contained in:
commit
f2dd8eaa82
1 changed files with 2 additions and 0 deletions
|
@ -460,6 +460,8 @@ class ModelTask extends BakeTask {
|
|||
$guess = $methods['datetime'];
|
||||
} elseif ($metaData['type'] === 'inet') {
|
||||
$guess = $methods['ip'];
|
||||
} elseif ($metaData['type'] === 'decimal') {
|
||||
$guess = $methods['decimal'];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue