From fba3fb039fa37be1d1e2a2399bb8ecef1800c764 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 19 Dec 2015 15:00:10 -0700 Subject: [PATCH] Add one line between each function. --- resources/classes/text.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/classes/text.php b/resources/classes/text.php index 39f5ec4b2f..d82bb9449b 100644 --- a/resources/classes/text.php +++ b/resources/classes/text.php @@ -5,12 +5,14 @@ * @method array get */ class text { + /** * Called when the object is created */ public function __construct() { //place holder } + /** * Called when there are no references to a particular object * unset the variables used in the class @@ -20,6 +22,7 @@ class text { unset($this->$key); } } + /** * Get a specific item from the cache * @var string $language_code examples: en-us, es-cl, fr-fr, pt-pt @@ -40,7 +43,6 @@ class text { if(file_exists($lang_path)){ require $lang_path; } - //get the available languages krsort($text); foreach ($text as $lang_label => $lang_codes) { @@ -79,7 +81,7 @@ class text { } } } - + //return the array of translations return $text; }