projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2aada
)
Style
author
Jan Schneider
<jan@horde.org>
Sat, 2 Oct 2010 21:20:17 +0000
(23:20 +0200)
committer
Jan 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
patch
|
blob
|
history
diff --git
a/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php
b/framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php
index
0c6839b
..
db33937
100644
(file)
--- a/
framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php
+++ b/
framework/Date_Parser/lib/Horde/Date/Parser/Locale/Base.php
@@
-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(