diff options
author | Matt Perry <matt@mattperry.com> | 2013-08-27 01:18:10 -0700 |
---|---|---|
committer | Matt Perry <matt@mattperry.com> | 2013-08-27 01:18:10 -0700 |
commit | d91ab76f52f59d264301e18c28a0d3bae996fab8 (patch) | |
tree | e578ed2778da96a94038de77e03477b2307bbf21 /inc/parser/xhtml.php | |
parent | 5004f92c22df31a9c3562344f4223795ad819780 (diff) | |
download | rpg-d91ab76f52f59d264301e18c28a0d3bae996fab8.tar.gz rpg-d91ab76f52f59d264301e18c28a0d3bae996fab8.tar.bz2 |
Fix CodeSniffer violations
Fix violations for the following sniff
DokuWiki.Functions.OpeningFunctionBrace
Also removed an extraneous semicolon.
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r-- | inc/parser/xhtml.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index ff4d7eb41..e269563fe 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -875,7 +875,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $mod = 1; $start = 0; $end = $feed->get_item_quantity(); - $end = ($end > $params['max']) ? $params['max'] : $end;; + $end = ($end > $params['max']) ? $params['max'] : $end; } $this->doc .= '<ul class="rss">'; @@ -1208,8 +1208,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { * @access protected * @return array */ - function _getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render) - { + function _getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render) { global $conf; $link = array(); |