aboutsummaryrefslogtreecommitdiff
path: root/app/Services/ImportService.php
diff options
context:
space:
mode:
authorGravatar Thomas Renes <thomas@renesweb.nl> 2022-01-08 16:25:17 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-08 16:25:17 +0100
commit916df412f5b6f7fb9bcfb705a3c8c23e35304410 (patch)
treed87c483688575cb5a6b674849e2aefa2052116c8 /app/Services/ImportService.php
parent127b7f0a3aad7012055c058e8aba0d27192a8cbc (diff)
Fix various typos and spelling errors in documentation, comments and code. (#4134)
Diffstat (limited to 'app/Services/ImportService.php')
-rw-r--r--app/Services/ImportService.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index 4cc38c15c..f995a3dd7 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -26,7 +26,7 @@ class FreshRSS_Import_Service {
* This method parses and imports an OPML file.
*
* @param string $opml_file the OPML file content.
- * @return boolean false if an error occured, true otherwise.
+ * @return boolean false if an error occurred, true otherwise.
*/
public function importOpml($opml_file) {
$opml_array = array();
@@ -51,7 +51,7 @@ class FreshRSS_Import_Service {
*
* @param array $opml_elements an OPML element (body or outline).
* @param string $parent_cat the name of the parent category.
- * @return boolean false if an error occured, true otherwise.
+ * @return boolean false if an error occurred, true otherwise.
*/
private function addOpmlElements($opml_elements, $parent_cat = null) {
$isOkStatus = true;
@@ -108,7 +108,7 @@ class FreshRSS_Import_Service {
*
* @param array $feed_elt an OPML element (must be a feed element).
* @param string $parent_cat the name of the parent category.
- * @return boolean false if an error occured, true otherwise.
+ * @return boolean false if an error occurred, true otherwise.
*/
private function addFeedOpml($feed_elt, $parent_cat) {
if ($parent_cat == null) {
@@ -185,7 +185,7 @@ class FreshRSS_Import_Service {
* @param string $parent_cat the name of the parent category.
* @param boolean $cat_limit_reached indicates if category limit has been reached.
* if yes, category is not added (but we try for feeds!)
- * @return boolean false if an error occured, true otherwise.
+ * @return boolean false if an error occurred, true otherwise.
*/
private function addCategoryOpml($cat_elt, $parent_cat, $cat_limit_reached) {
// Create a new Category object