From 916df412f5b6f7fb9bcfb705a3c8c23e35304410 Mon Sep 17 00:00:00 2001 From: Thomas Renes Date: Sat, 8 Jan 2022 16:25:17 +0100 Subject: Fix various typos and spelling errors in documentation, comments and code. (#4134) --- app/Services/ImportService.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/Services/ImportService.php') 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 -- cgit v1.2.3