mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
parent
df5d9ac3d1
commit
70bb839de9
1 changed files with 2 additions and 0 deletions
|
@ -426,6 +426,8 @@ class ModelTask extends BakeTask {
|
||||||
$guess = $methods['uuid'];
|
$guess = $methods['uuid'];
|
||||||
} elseif ($metaData['type'] == 'string') {
|
} elseif ($metaData['type'] == 'string') {
|
||||||
$guess = $methods['notempty'];
|
$guess = $methods['notempty'];
|
||||||
|
} elseif ($metaData['type'] == 'text') {
|
||||||
|
$guess = $methods['notempty'];
|
||||||
} elseif ($metaData['type'] == 'integer') {
|
} elseif ($metaData['type'] == 'integer') {
|
||||||
$guess = $methods['numeric'];
|
$guess = $methods['numeric'];
|
||||||
} elseif ($metaData['type'] == 'boolean') {
|
} elseif ($metaData['type'] == 'boolean') {
|
||||||
|
|
Loading…
Reference in a new issue