summaryrefslogtreecommitdiffstats
path: root/db/feed.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-14 17:32:49 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-14 17:32:49 +0200
commit160a0dfebaeb21cc75d7166dfbac6d0ef1a51460 (patch)
tree28e2555c97462d60356ef933d5c71c5326649747 /db/feed.php
parentacc2df1251a1c1b9ec5ede13bdf46d516dc64b0d (diff)
convert array() to []
Diffstat (limited to 'db/feed.php')
-rw-r--r--db/feed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/feed.php b/db/feed.php
index 1e47a89cf..30bcbf865 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -70,7 +70,7 @@ class Feed extends Entity implements IAPI {
public function toAPI() {
- return array(
+ return [
'id' => $this->getId(),
'url' => $this->getUrl(),
'title' => $this->getTitle(),
@@ -79,7 +79,7 @@ class Feed extends Entity implements IAPI {
'folderId' => $this->getFolderId(),
'unreadCount' => $this->getUnreadCount(),
'link' => $this->getLink()
- );
+ ];
}