diff options
author | Matt Perry <matt@mattperry.com> | 2013-08-22 01:01:41 -0700 |
---|---|---|
committer | Matt Perry <matt@mattperry.com> | 2013-08-22 01:01:41 -0700 |
commit | 7ef8e99fe605c5da36ab6b5d317b22fcd17f665b (patch) | |
tree | 2245231ac0dcbeea7084a751f89699e3307133f2 /inc/parser/parser.php | |
parent | 104262381eb89124eb900397f5054fde8e3d5658 (diff) | |
download | rpg-7ef8e99fe605c5da36ab6b5d317b22fcd17f665b.tar.gz rpg-7ef8e99fe605c5da36ab6b5d317b22fcd17f665b.tar.bz2 |
Fix CodeSniffer violations
Change indentation to ensure code confirms to CodeSniffer rules.
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r-- | inc/parser/parser.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php index 4af1cd333..064178a54 100644 --- a/inc/parser/parser.php +++ b/inc/parser/parser.php @@ -621,7 +621,7 @@ class Doku_Parser_Mode_acronym extends Doku_Parser_Mode { var $pattern = ''; function Doku_Parser_Mode_acronym($acronyms) { - usort($acronyms,array($this,'_compare')); + usort($acronyms,array($this,'_compare')); $this->acronyms = $acronyms; } @@ -652,12 +652,12 @@ class Doku_Parser_Mode_acronym extends Doku_Parser_Mode { $a_len = strlen($a); $b_len = strlen($b); if ($a_len > $b_len) { - return -1; + return -1; } else if ($a_len < $b_len) { - return 1; + return 1; } - return 0; + return 0; } } |