diff --git a/patches/PersistenceCreator.php b/patches/PersistenceCreator.php --- a/patches/PersistenceCreator.php +++ b/patches/PersistenceCreator.php @@ -53,6 +53,7 @@ case 'smallint': $type = "int"; break; + case 'bool': case 'tinyint': $type = "bool"; break; @@ -65,6 +66,8 @@ case 'char': $type = "string"; break; + default: + $type = "string"; } $content .= sprintf(" * @method %s get%s()\n", $type, $methodName);