patches/PersistenceCreator.php
changeset 33 5cb77e9211d8
parent 30 5751ca5a55c0
child 37 f4fce35327ff
--- 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);