mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Changing guessed validation type for boolean.
This commit is contained in:
parent
ad3d34c239
commit
f6d6272f97
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ class ModelTask extends Shell {
|
|||
} elseif ($metaData['type'] == 'integer') {
|
||||
$guess = $methods['numeric'];
|
||||
} elseif ($metaData['type'] == 'boolean') {
|
||||
$guess = $methods['numeric'];
|
||||
$guess = $methods['boolean'];
|
||||
} elseif ($metaData['type'] == 'datetime' || $metaData['type'] == 'date') {
|
||||
$guess = $methods['date'];
|
||||
} elseif ($metaData['type'] == 'time') {
|
||||
|
|
Loading…
Add table
Reference in a new issue