diff --git a/public_html/lib/plugins/clear/syntax.php b/public_html/lib/plugins/clear/syntax.php
index f1de38dd..60a75003 100644
--- a/public_html/lib/plugins/clear/syntax.php
+++ b/public_html/lib/plugins/clear/syntax.php
@@ -27,8 +27,8 @@ class syntax_plugin_clear extends DokuWiki_Syntax_Plugin {
function connectTo($mode) {
$this->Lexer->addSpecialPattern('',$mode,'plugin_clear');
}
- function handle($match, $state, $pos, $handler){ return array($match, $state, $pos); }
- function render($mode, $renderer, $data) {
+ function handle($match, $state, $pos, Doku_Handler $handler){ return array($match, $state, $pos); }
+ function render($mode, Doku_Renderer $renderer, $data) {
if($mode == 'xhtml'){
$renderer->doc .= "
";
return true;
diff --git a/public_html/lib/plugins/gitbacked/action/editcommit.php b/public_html/lib/plugins/gitbacked/action/editcommit.php
index 0094bf4e..9fcfb306 100644
--- a/public_html/lib/plugins/gitbacked/action/editcommit.php
+++ b/public_html/lib/plugins/gitbacked/action/editcommit.php
@@ -24,7 +24,7 @@ class action_plugin_gitbacked_editcommit extends DokuWiki_Action_Plugin {
io_mkdir_p($this->temp_dir);
}
- public function register(Doku_Event_Handler &$controller) {
+ public function register(Doku_Event_Handler $controller) {
$controller->register_hook('IO_WIKIPAGE_WRITE', 'AFTER', $this, 'handle_io_wikipage_write');
$controller->register_hook('MEDIA_UPLOAD_FINISH', 'AFTER', $this, 'handle_media_upload');
diff --git a/public_html/lib/plugins/html5video/syntax/video.php b/public_html/lib/plugins/html5video/syntax/video.php
index 22803893..78c7f0db 100644
--- a/public_html/lib/plugins/html5video/syntax/video.php
+++ b/public_html/lib/plugins/html5video/syntax/video.php
@@ -43,7 +43,7 @@ class syntax_plugin_html5video_video extends DokuWiki_Syntax_Plugin {
$this->Lexer->addSpecialPattern('\{\{[^}]*(?:(?:webm)|(?:ogv)|(?:mp4))(?:\|(?:\d{2,4}x\d{2,4})?(?:\|(?:loop)?,?(?:autoplay)?(?:,loop)?)?)? ?\}\}',$mode,'plugin_html5video_video');
}
- public function handle($match, $state, $pos, $handler){
+ public function handle($match, $state, $pos, Doku_Handler $handler){
$params = substr($match, strlen('{{'), - strlen('}}')); //Strip markup
if(strpos($params, ' ') === 0) { // Space as first character
if(substr_compare($params, ' ', -1, 1) === 0) { // Space a front and back = centered
@@ -65,7 +65,7 @@ class syntax_plugin_html5video_video extends DokuWiki_Syntax_Plugin {
return array(state, explode('|', $params));
}
- public function render($mode, $renderer, $data) {
+ public function render($mode, Doku_Renderer $renderer, $data) {
if($mode != 'xhtml') return false;
list($state, $params) = $data;
diff --git a/public_html/lib/plugins/itemtable/syntax.php b/public_html/lib/plugins/itemtable/syntax.php
index a07981fe..fa704753 100644
--- a/public_html/lib/plugins/itemtable/syntax.php
+++ b/public_html/lib/plugins/itemtable/syntax.php
@@ -47,7 +47,7 @@ class syntax_plugin_itemtable extends DokuWiki_Syntax_Plugin {
/**
* Handle the match
*/
- function handle($match, $state, $pos, $handler){
+ function handle($match, $state, $pos, Doku_Handler $handler){
switch ($state) {
case DOKU_LEXER_ENTER :
return array($state, substr($match, 10, -1) );
@@ -177,7 +177,7 @@ class syntax_plugin_itemtable extends DokuWiki_Syntax_Plugin {
return $res;
}
- function render($mode, $renderer, $data) {
+ function render($mode, Doku_Renderer $renderer, $data) {
// This will only render in xhtml
if($mode == 'xhtml'){
list($state, $match) = $data;