summaryrefslogtreecommitdiffstats
path: root/lib/Explore/RecommendedSites.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-28 22:32:49 +0100
committerGitHub <noreply@github.com>2019-01-28 22:32:49 +0100
commit9cd871983a368752d122a73da244606bdeba312f (patch)
treed1882e1e677d7cee12926e5688ccfbfd31a505f5 /lib/Explore/RecommendedSites.php
parent31b2f194af74bdba60bdd2640e5fc47340157795 (diff)
parentbecce6b7520912257c3d72697a3aefec9923a467 (diff)
Merge pull request #382 from SMillerDev/codestyle_psr2
Define an official codestyle and adhere to it.
Diffstat (limited to 'lib/Explore/RecommendedSites.php')
-rw-r--r--lib/Explore/RecommendedSites.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Explore/RecommendedSites.php b/lib/Explore/RecommendedSites.php
index b22c07e1d..504d63497 100644
--- a/lib/Explore/RecommendedSites.php
+++ b/lib/Explore/RecommendedSites.php
@@ -22,13 +22,13 @@ class RecommendedSites
* @param string $exploreDir the absolute path to where the recommendation
* 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';
@@ -40,6 +40,4 @@ class RecommendedSites
throw new RecommendedSiteNotFoundException($msg);
}
}
-
-
}