summaryrefslogtreecommitdiff
path: root/lib/plugins/info/syntax.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-03-08 15:51:47 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-03-08 15:51:47 +0100
commitd27c0c1701c342ed9d6553163a71ac5cd7314a9f (patch)
treef565a5dd36cceba6abd63a74941caa719e749c5d /lib/plugins/info/syntax.php
parent9b50ec5c405ff215dd0d67491752f3c56ce7749e (diff)
parent49f299d6a332f8755f3b7a20c414702cca9c5ab8 (diff)
downloadrpg-d27c0c1701c342ed9d6553163a71ac5cd7314a9f.tar.gz
rpg-d27c0c1701c342ed9d6553163a71ac5cd7314a9f.tar.bz2
Merge pull request #588 from splitbrain/purge_E_ALL
Purge error log messages to support use of E_ALL
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