Style
authorJan Schneider <jan@horde.org>
Sat, 2 Oct 2010 21:20:17 +0000 (23:20 +0200)
committerJan Schneider <jan@horde.org>
Sat, 2 Oct 2010 21:21:52 +0000 (23:21 +0200)
framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php

index 0c6839b..db33937 100644 (file)
@@ -210,7 +210,9 @@ class Horde_Date_Parser_Locale_Base
      */
     public function postTokenize($tokens)
     {
-        if (!count($tokens)) { return $tokens; }
+        if (!count($tokens)) {
+            return $tokens;
+        }
 
         // First rule: if the first token is a separator, remove it from the
         // list of tokens we consider in tokensToSpan().
@@ -228,7 +230,9 @@ class Horde_Date_Parser_Locale_Base
 
     public function initDefinitions()
     {
-        if ($this->definitions) { return; }
+        if ($this->definitions) {
+            return;
+        }
 
         $this->definitions = array(
             'time' => array(