diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 22:18:08 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-05 22:18:08 +0000 |
commit | 3cd4fc17379f0f917d5e1ed4d20decfb662aaf32 (patch) | |
tree | c11034385cde1b6a36384158d8aaded8b18b24c2 /lib/plugins/info/syntax.php | |
parent | 39134585c3f7a3c02113fb844ffabe0c1398c937 (diff) | |
download | rpg-3cd4fc17379f0f917d5e1ed4d20decfb662aaf32.tar.gz rpg-3cd4fc17379f0f917d5e1ed4d20decfb662aaf32.tar.bz2 |
remove '&' from object parameters, PHP5 style not E_ALL
Diffstat (limited to 'lib/plugins/info/syntax.php')
-rw-r--r-- | lib/plugins/info/syntax.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/info/syntax.php b/lib/plugins/info/syntax.php index f8c6eb484..9265f44d5 100644 --- a/lib/plugins/info/syntax.php +++ b/lib/plugins/info/syntax.php @@ -48,7 +48,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin { /** * Handle the match */ - function handle($match, $state, $pos, Doku_Handler &$handler){ + function handle($match, $state, $pos, Doku_Handler $handler){ $match = substr($match,7,-2); //strip ~~INFO: from start and ~~ from end return array(strtolower($match)); } @@ -56,7 +56,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin { /** * Create output */ - function render($format, Doku_Renderer &$renderer, $data) { + function render($format, Doku_Renderer $renderer, $data) { if($format == 'xhtml'){ /** @var Doku_Renderer_xhtml $renderer */ //handle various info stuff |