From cd10f93e0d271840caff92b88195385a2a3f15b2 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 26 Jun 2014 11:33:44 +0200 Subject: style fixes --- service/itemservice.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'service/itemservice.php') diff --git a/service/itemservice.php b/service/itemservice.php index b2ab80bc5..dcabb2f11 100644 --- a/service/itemservice.php +++ b/service/itemservice.php @@ -107,7 +107,7 @@ class ItemService extends Service { * @param int $feedId the id of the item's feed that should be starred * @param string $guidHash the guidHash of the item that should be starred * @param boolean $isStarred if true the item will be marked as starred, if false unstar - * @param $userId the name of the user for security reasons + * @param string $userId the name of the user for security reasons * @throws ServiceNotFoundException if the item does not exist */ public function star($feedId, $guidHash, $isStarred, $userId){ @@ -131,7 +131,7 @@ class ItemService extends Service { * Read or unread an item * @param int $itemId the id of the item that should be read * @param boolean $isRead if true the item will be marked as read, if false unread - * @param $userId the name of the user for security reasons + * @param string $userId the name of the user for security reasons * @throws ServiceNotFoundException if the item does not exist */ public function read($itemId, $isRead, $userId){ @@ -149,7 +149,7 @@ class ItemService extends Service { /** * Set all items read * @param int $highestItemId all items below that are marked read. This is used - * to prevent marking items as read that the users hasnt seen yet + * to prevent marking items as read that the users hasn't seen yet * @param string $userId the name of the user */ public function readAll($highestItemId, $userId){ @@ -162,7 +162,7 @@ class ItemService extends Service { * Set a folder read * @param int $folderId the id of the folder that should be marked read * @param int $highestItemId all items below that are marked read. This is used - * to prevent marking items as read that the users hasnt seen yet + * to prevent marking items as read that the users hasn't seen yet * @param string $userId the name of the user */ public function readFolder($folderId, $highestItemId, $userId){ @@ -175,7 +175,7 @@ class ItemService extends Service { * Set a feed read * @param int $feedId the id of the feed that should be marked read * @param int $highestItemId all items below that are marked read. This is used - * to prevent marking items as read that the users hasnt seen yet + * to prevent marking items as read that the users hasn't seen yet * @param string $userId the name of the user */ public function readFeed($feedId, $highestItemId, $userId){ @@ -187,7 +187,7 @@ class ItemService extends Service { /** * This method deletes all unread feeds that are not starred and over the * count of $this->autoPurgeCount starting by the oldest. This is to clean - * up the database so that old entries dont spam your db. As criteria for + * up the database so that old entries don't spam your db. As criteria for * old, the id is taken */ public function autoPurgeOld(){ @@ -196,7 +196,7 @@ class ItemService extends Service { /** - * Returns the newest itemd id, use this for marking feeds read + * Returns the newest item id, use this for marking feeds read * @param string $userId the name of the user * @throws ServiceNotFoundException if there is no newest item * @return int -- cgit v1.2.3