mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
2.6.2: cake bake / ModelTask should respect decimal
PR for https://github.com/cakephp/cakephp/issues/6066
This commit is contained in:
parent
0b916cedbb
commit
5f40161e24
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