summaryrefslogtreecommitdiff
path: root/lib/plugins/info/syntax.php
diff options
context:
space:
mode:
authorlisps <stummp@loewen.de>2014-03-19 08:07:16 +0100
committerlisps <stummp@loewen.de>2014-03-19 08:07:16 +0100
commite310313d794a3336d279ee09973508e794dbf08e (patch)
tree7f90b51d344f7163c6fbb109f04ff22dea5ae129 /lib/plugins/info/syntax.php
parentcdb5e9613f7c4b1be4515715652aca451493d5d5 (diff)
parent177ef92c4ddd38cb906dd7d5f0208c698048cd57 (diff)
downloadrpg-e310313d794a3336d279ee09973508e794dbf08e.tar.gz
rpg-e310313d794a3336d279ee09973508e794dbf08e.tar.bz2
Merge remote-tracking branch 'remotes/origin/master' into revisions_local
Diffstat (limited to 'lib/plugins/info/syntax.php')
-rw-r--r--lib/plugins/info/syntax.php4
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