diff options
author | Brion Vibber <brion@pobox.com> | 2009-10-29 13:55:37 -0400 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2009-10-29 13:55:37 -0400 |
commit | fd650715fa934df9b7e560881bfb622860588599 (patch) | |
tree | a4b9e504c039e472b851084a3b12e6fc055384f5 /plugins/TwitterBridge/TwitterBridgePlugin.php | |
parent | 2c1af973bbe285b373ede9944330444d85772625 (diff) |
Warning cleanup: drop reference on router parameter to RouterInitialized event handlers.
We don't (and don't need to) pass a reference here, and the mix can trigger warnings.
Diffstat (limited to 'plugins/TwitterBridge/TwitterBridgePlugin.php')
-rw-r--r-- | plugins/TwitterBridge/TwitterBridgePlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TwitterBridge/TwitterBridgePlugin.php b/plugins/TwitterBridge/TwitterBridgePlugin.php index e69567fc7..ad3c2e551 100644 --- a/plugins/TwitterBridge/TwitterBridgePlugin.php +++ b/plugins/TwitterBridge/TwitterBridgePlugin.php @@ -60,12 +60,12 @@ class TwitterBridgePlugin extends Plugin * * Hook for RouterInitialized event. * - * @param Net_URL_Mapper &$m path-to-action mapper + * @param Net_URL_Mapper $m path-to-action mapper * * @return boolean hook return */ - function onRouterInitialized(&$m) + function onRouterInitialized($m) { $m->connect('twitter/authorization', array('action' => 'twitterauthorization')); |