diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 18:19:23 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 18:19:23 +0200 |
commit | 66c73a96ac2dda076bcfe0dc0a1ca2a7e169149d (patch) | |
tree | dc0318fa459e4f313217ee38e4bc63524513d721 /controller/itemcontroller.php | |
parent | f5e64d35c05b14016eb4fffff7199386a97a9b43 (diff) |
first try to set indention limit at 80 characters in php
Diffstat (limited to 'controller/itemcontroller.php')
-rw-r--r-- | controller/itemcontroller.php | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php index 89dd51d03..4aee6402a 100644 --- a/controller/itemcontroller.php +++ b/controller/itemcontroller.php @@ -59,8 +59,8 @@ class ItemController extends Controller { public function index($type, $id, $limit=50, $offset=0) { $showAll = $this->settings->getUserValue($this->userId, $this->appName, 'showAll') === '1'; - $oldestFirst = $this->settings->getUserValue($this->userId, $this->appName, - 'oldestFirst') === '1'; + $oldestFirst = $this->settings->getUserValue($this->userId, + $this->appName, 'oldestFirst') === '1'; $this->settings->setUserValue($this->userId, $this->appName, 'lastViewedFeedId', $id); @@ -78,7 +78,8 @@ class ItemController extends Controller { $params['newestItemId'] = $this->itemService->getNewestItemId($this->userId); $params['feeds'] = $this->feedService->findAll($this->userId); - $params['starred'] = $this->itemService->starredCount($this->userId); + $params['starred'] = + $this->itemService->starredCount($this->userId); } $params['items'] = $this->itemService->findAll( @@ -109,9 +110,11 @@ class ItemController extends Controller { $params = []; try { - $params['newestItemId'] = $this->itemService->getNewestItemId($this->userId); + $params['newestItemId'] = + $this->itemService->getNewestItemId($this->userId); $params['feeds'] = $this->feedService->findAll($this->userId); - $params['starred'] = $this->itemService->starredCount($this->userId); + $params['starred'] = + $this->itemService->starredCount($this->userId); $params['items'] = $this->itemService->findAllNew($id, $type, $lastModified, $showAll, $this->userId); |