We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 190c378 commit f99ccdaCopy full SHA for f99ccda
1 file changed
src/Traits/CharsetEncoderAware.php
@@ -7,12 +7,11 @@
7
trait CharsetEncoderAware
8
{
9
protected static $charsetEncoder;
10
- protected static $charsetEncoderClass = '\\PhpXmlRpc\\Helper\\Charset';
11
12
public function getCharsetEncoder()
13
14
if (self::$charsetEncoder === null) {
15
- self::$charsetEncoder = call_user_func(array(static::$charsetEncoderClass, 'instance'));
+ self::$charsetEncoder = Charset::instance();
16
}
17
return self::$charsetEncoder;
18
0 commit comments