diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 12:02:06 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 12:02:06 +0200 |
commit | e8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253 (patch) | |
tree | 419623aa4696b6c67b75e3fca3f9eb264828b2be /lib/plugins/testing | |
parent | 0d16f6e357991625b4e88fc7a147c8d743e890d7 (diff) | |
download | rpg-e8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253.tar.gz rpg-e8b5a4f91c8a6e230a6cfe13c43dc9ddce31e253.tar.bz2 |
fix E_STRICT errors FS#2427
This commit fixes all E_STRICT messages shown when running the test
suite. There might be more problems not covered by tests, yet.
For compatibility reasons with plugins, E_STRICT errors are still
supressed.
Diffstat (limited to 'lib/plugins/testing')
-rw-r--r-- | lib/plugins/testing/action.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plugins/testing/action.php b/lib/plugins/testing/action.php index e829847b6..a242ab0b7 100644 --- a/lib/plugins/testing/action.php +++ b/lib/plugins/testing/action.php @@ -7,7 +7,8 @@ * @author Tobias Sarnowski <tobias@trustedco.de> */ class action_plugin_testing extends DokuWiki_Action_Plugin { - function register(&$controller) { + + function register(Doku_Event_Handler $controller) { $controller->register_hook('DOKUWIKI_STARTED', 'AFTER', $this, 'dokuwikiStarted'); } |