summaryrefslogtreecommitdiffstats
path: root/db/feed.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/feed.php
parent96f1eb05a4caa74bccbb3988fe79a60adf544d5c (diff)
write out type name to prevent confusion when using gettype
Diffstat (limited to 'db/feed.php')
-rw-r--r--db/feed.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/db/feed.php b/db/feed.php
index b59763c4d..668e9a041 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -44,13 +44,13 @@ class Feed extends Entity implements IAPI {
public $articlesPerUpdate;
public function __construct(){
- $this->addType('parentId', 'int');
- $this->addType('added', 'int');
- $this->addType('folderId', 'int');
- $this->addType('unreadCount', 'int');
- $this->addType('preventUpdate', 'bool');
- $this->addType('deletedAt', 'int');
- $this->addType('articlesPerUpdate', 'int');
+ $this->addType('parentId', 'integer');
+ $this->addType('added', 'integer');
+ $this->addType('folderId', 'integer');
+ $this->addType('unreadCount', 'integer');
+ $this->addType('preventUpdate', 'boolean');
+ $this->addType('deletedAt', 'integer');
+ $this->addType('articlesPerUpdate', 'integer');
}