summaryrefslogtreecommitdiff
path: root/lib/plugins/syntax.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-05 22:18:08 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-05 22:18:08 +0000
commit3cd4fc17379f0f917d5e1ed4d20decfb662aaf32 (patch)
treec11034385cde1b6a36384158d8aaded8b18b24c2 /lib/plugins/syntax.php
parent39134585c3f7a3c02113fb844ffabe0c1398c937 (diff)
downloadrpg-3cd4fc17379f0f917d5e1ed4d20decfb662aaf32.tar.gz
rpg-3cd4fc17379f0f917d5e1ed4d20decfb662aaf32.tar.bz2
remove '&' from object parameters, PHP5 style not E_ALL
Diffstat (limited to 'lib/plugins/syntax.php')
-rw-r--r--lib/plugins/syntax.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php
index 7ab9c30e1..ec90993cf 100644
--- a/lib/plugins/syntax.php
+++ b/lib/plugins/syntax.php
@@ -66,7 +66,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode_Plugin {
* @param Doku_Handler $handler Reference to the Doku_Handler object
* @return array Return an array with all data you want to use in render
*/
- function handle($match, $state, $pos, Doku_Handler &$handler){
+ function handle($match, $state, $pos, Doku_Handler $handler){
trigger_error('handle() not implemented in '.get_class($this), E_USER_WARNING);
}
@@ -93,7 +93,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode_Plugin {
* @param $data array data created by handler()
* @return boolean rendered correctly?
*/
- function render($format, Doku_Renderer &$renderer, $data) {
+ function render($format, Doku_Renderer $renderer, $data) {
trigger_error('render() not implemented in '.get_class($this), E_USER_WARNING);
}