Skip to content

Commit bfe0f88

Browse files
committed
Fix for PHP Strict
1 parent 345bfc4 commit bfe0f88

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class action_plugin_fancysearch extends DokuWiki_Action_Plugin {
66
/**
77
* Register its handlers with the DokuWiki's event controller
88
*/
9-
function register(Doku_Event_Handler &$controller) {
9+
function register(Doku_Event_Handler $controller) {
1010
$controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, '_fixquery');
1111
}
1212

plugin.info.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
base fancysearch
22
author i-net software
33
4-
date 2014-01-31
4+
date 2014-07-15
55
name Fancysearch Plugin
66
desc Provides a dropdown list for common namespaces enhancing the search input.
77
url https://github.com/i-net-software/dokuwiki-plugin-fancysearch

syntax.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function connectTo($mode) {
2323
$this->Lexer->addSpecialPattern('{{fancysearch>.*?}}', $mode, 'plugin_fancysearch');
2424
}
2525

26-
function handle($match, $state, $pos, &$handler) {
26+
function handle($match, $state, $pos, Doku_Handler $handler) {
2727
global $ID;
2828

2929
$match = substr($match, 14, -2); // strip markup
@@ -42,7 +42,7 @@ function handle($match, $state, $pos, &$handler) {
4242

4343
}
4444

45-
function render($mode, &$renderer, $data) {
45+
function render($mode, Doku_Renderer $renderer, $data) {
4646
global $conf, $ID, $FANCYDATA;
4747

4848
list($state, $spaces) = $data;

0 commit comments

Comments
 (0)