summaryrefslogtreecommitdiffstats
path: root/db/folder.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-04-04 20:06:46 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-04-04 20:06:46 +0200
commitd649e2d11cea4fb222f10413f11ab4095d12465f (patch)
treefdc7f6871ce668aee65e8470206fa1350d0aacc5 /db/folder.php
parent96f1eb05a4caa74bccbb3988fe79a60adf544d5c (diff)
write out type name to prevent confusion when using gettype
Diffstat (limited to 'db/folder.php')
-rw-r--r--db/folder.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/folder.php b/db/folder.php
index 71dca1945..e344aaecd 100644
--- a/db/folder.php
+++ b/db/folder.php
@@ -37,9 +37,9 @@ class Folder extends Entity implements IAPI {
public $deletedAt;
public function __construct(){
- $this->addType('parentId', 'int');
- $this->addType('opened', 'bool');
- $this->addType('deletedAt', 'int');
+ $this->addType('parentId', 'integer');
+ $this->addType('opened', 'boolean');
+ $this->addType('deletedAt', 'integer');
}