Clean up reference usage warnings in DirectionDetector plugin
This commit is contained in:
parent
bb94b78e89
commit
60825ba535
@ -48,7 +48,7 @@ class DirectionDetectorPlugin extends Plugin {
|
|||||||
*
|
*
|
||||||
* @param
|
* @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}');
|
$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.
|
* 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
|
$mState = 0; // cached expected number of octets after the current octet
|
||||||
// until the beginning of the next UTF8 character sequence
|
// until the beginning of the next UTF8 character sequence
|
||||||
$mUcs4 = 0; // cached Unicode character
|
$mUcs4 = 0; // cached Unicode character
|
||||||
|
Loading…
Reference in New Issue
Block a user