From 3ea784517994b9bd0c8ca22bcd7cf4d2b62affdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pe=CC=81rez?= <jaime.perez@uninett.no> Date: Tue, 4 Oct 2016 16:32:52 +0200 Subject: [PATCH] Small reformat in SimpleSAML\Locale\Localization. --- lib/SimpleSAML/Locale/Localization.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Locale/Localization.php b/lib/SimpleSAML/Locale/Localization.php index 44b277955..e5111d3bf 100644 --- a/lib/SimpleSAML/Locale/Localization.php +++ b/lib/SimpleSAML/Locale/Localization.php @@ -96,7 +96,8 @@ class Localization * @param string $domain Name of localization domain * @throws Exception If the path does not exist even for the default, fallback language */ - public function getLangPath($domain = self::DEFAULT_DOMAIN) { + public function getLangPath($domain = self::DEFAULT_DOMAIN) + { $langcode = explode('_', $this->langcode); $langcode = $langcode[0]; $localeDir = $this->localeDomainMap[$domain]; @@ -199,6 +200,7 @@ class Localization $this->currentDomain = $domain; } + /** * Get current translation domain */ @@ -207,6 +209,7 @@ class Localization return $this->currentDomain ? $this->currentDomain : self::DEFAULT_DOMAIN; } + /** * Go back to default translation domain */ -- GitLab