summaryrefslogtreecommitdiff
path: root/plugins/DirectionDetector
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-05-05 10:51:05 -0700
committerBrion Vibber <brion@pobox.com>2010-05-05 10:51:05 -0700
commit60825ba535763838059797db03cc32cf07276de0 (patch)
treee07d5e74969b38dca342031af132a77383664843 /plugins/DirectionDetector
parentbb94b78e8997ba1b66ddde7ad46653bfa6f958e6 (diff)
Clean up reference usage warnings in DirectionDetector plugin
Diffstat (limited to 'plugins/DirectionDetector')
-rw-r--r--plugins/DirectionDetector/DirectionDetectorPlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php
index 303e60d5f..0277e02c5 100644
--- a/plugins/DirectionDetector/DirectionDetectorPlugin.php
+++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php
@@ -48,7 +48,7 @@ class DirectionDetectorPlugin extends Plugin {
*
* @param
*/
- public function onEndShowStatusNetStyles(&$xml){
+ public function onEndShowStatusNetStyles($xml){
$xml->element('style', array('type' => 'text/css'), 'span.rtl {display:block;direction:rtl;text-align:right;float:right;width:490px;} .notice .author {float:left}');
}
/**
@@ -102,7 +102,7 @@ class DirectionDetectorPlugin extends Plugin {
*
* Returns false if the input string isn't a valid UTF-8 octet sequence.
*/
- private static function utf8ToUnicode(&$str){
+ private static function utf8ToUnicode($str){
$mState = 0; // cached expected number of octets after the current octet
// until the beginning of the next UTF8 character sequence
$mUcs4 = 0; // cached Unicode character