summaryrefslogtreecommitdiffstats
path: root/service/feedservice.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-06-26 11:33:44 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-06-26 11:33:44 +0200
commitcd10f93e0d271840caff92b88195385a2a3f15b2 (patch)
treecf9e3724c35bba4cdd82e443938151bf189802cc /service/feedservice.php
parent06367d8b81407fc2948e0f666b38f4de2dffbd89 (diff)
style fixes
Diffstat (limited to 'service/feedservice.php')
-rw-r--r--service/feedservice.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/service/feedservice.php b/service/feedservice.php
index cc4c8770d..6c8d90033 100644
--- a/service/feedservice.php
+++ b/service/feedservice.php
@@ -66,7 +66,7 @@ class FeedService extends Service {
/**
* Finds all feeds of a user
* @param string $userId the name of the user
- * @return array of feeds
+ * @return Feed[]
*/
public function findAll($userId){
return $this->feedMapper->findAllFromUser($userId);
@@ -103,7 +103,7 @@ class FeedService extends Service {
throw new ServiceConflictException(
$this->l10n->t('Can not add feed: Exists already'));
- // If no matchin feed was found everything was ok
+ // If no matching feed was found everything was ok
} catch(DoesNotExistException $ex){}
// insert feed
@@ -258,7 +258,7 @@ class FeedService extends Service {
/**
* Import articles
* @param array $json the array with json
- * @param string userId the username
+ * @param string $userId the username
* @return Feed if one had to be created for nonexistent feeds
*/
public function importArticles($json, $userId) {
@@ -275,7 +275,7 @@ class FeedService extends Service {
$createdFeed = false;
// loop over all items and get the corresponding feed
- // if the feed does not exist, create a seperate feed for them
+ // if the feed does not exist, create a separate feed for them
foreach ($json as $entry) {
$item = Item::fromImport($entry);
$item->setLastModified($this->timeFactory->getTime());
@@ -324,7 +324,7 @@ class FeedService extends Service {
/**
- * Use this to mark a feed as deleted. That way it can be undeleted
+ * Use this to mark a feed as deleted. That way it can be un-deleted
* @param int $feedId the id of the feed that should be deleted
* @param string $userId the name of the user for security reasons
* @throws ServiceNotFoundException when feed does not exist