Skip to content

Commit f99ccda

Browse files
committed
undo, will use a different overriding strategy
1 parent 190c378 commit f99ccda

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Traits/CharsetEncoderAware.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
trait CharsetEncoderAware
88
{
99
protected static $charsetEncoder;
10-
protected static $charsetEncoderClass = '\\PhpXmlRpc\\Helper\\Charset';
1110

1211
public function getCharsetEncoder()
1312
{
1413
if (self::$charsetEncoder === null) {
15-
self::$charsetEncoder = call_user_func(array(static::$charsetEncoderClass, 'instance'));
14+
self::$charsetEncoder = Charset::instance();
1615
}
1716
return self::$charsetEncoder;
1817
}

0 commit comments

Comments
 (0)