summaryrefslogtreecommitdiffstats
path: root/lib/Explore
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2018-03-27 15:35:06 +0200
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2018-03-27 15:35:06 +0200
commit5b94705cf3918dc7986c6043b1fbe776bf22958f (patch)
tree4e8059818a0a913d24938e35238913a721fa6373 /lib/Explore
parentf3c9d13551cef5968baea99c2f25085baee0ed5f (diff)
Core: Fix compatibility with nextcloud codestyle (#280)
Diffstat (limited to 'lib/Explore')
-rw-r--r--lib/Explore/RecommendedSiteNotFoundException.php11
-rw-r--r--lib/Explore/RecommendedSites.php19
2 files changed, 17 insertions, 13 deletions
diff --git a/lib/Explore/RecommendedSiteNotFoundException.php b/lib/Explore/RecommendedSiteNotFoundException.php
index ddf106079..9d3e717c7 100644
--- a/lib/Explore/RecommendedSiteNotFoundException.php
+++ b/lib/Explore/RecommendedSiteNotFoundException.php
@@ -5,16 +5,17 @@
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
- * @author Alessandro Cosentino <cosenal@gmail.com>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Alessandro Cosentino 2012
- * @copyright Bernhard Posselt 2012, 2014
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright 2012 Alessandro Cosentino
+ * @copyright 2012-2014 Bernhard Posselt
*/
namespace OCA\News\Explore;
use Exception;
-class RecommendedSiteNotFoundException extends Exception {
+class RecommendedSiteNotFoundException extends Exception
+{
}
diff --git a/lib/Explore/RecommendedSites.php b/lib/Explore/RecommendedSites.php
index 9ddb5b913..b22c07e1d 100644
--- a/lib/Explore/RecommendedSites.php
+++ b/lib/Explore/RecommendedSites.php
@@ -5,28 +5,31 @@
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
- * @author Alessandro Cosentino <cosenal@gmail.com>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Alessandro Cosentino 2012
- * @copyright Bernhard Posselt 2012, 2014
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright 2012 Alessandro Cosentino
+ * @copyright 2012-2014 Bernhard Posselt
*/
namespace OCA\News\Explore;
-class RecommendedSites {
+class RecommendedSites
+{
private $directory;
/**
* @param string $exploreDir the absolute path to where the recommendation
- * config files lie without a trailing slash
+ * config files lie without a trailing slash
*/
- public function __construct($exploreDir) {
+ public function __construct($exploreDir)
+ {
$this->directory = $exploreDir;
}
- public function forLanguage($languageCode) {
+ public function forLanguage($languageCode)
+ {
$file = $this->directory . '/feeds.' . $languageCode . '.json';
if (file_exists($file)) {