Fixing msgpack custom
This commit is contained in:
parent
d3f562cfa2
commit
5186692433
|
@ -6,6 +6,6 @@
|
||||||
"php": ">=7.4"
|
"php": ">=7.4"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"classmap": ["config.inc.php"]
|
"classmap": ["config.inc.php", "msgpack_custom.inc.php"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MessagePackCustom extends MessagePack\Packer
|
class MessagePackCustom extends \MessagePack\Packer
|
||||||
{
|
{
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct(MessagePack\PackOptions::FORCE_STR);
|
parent::__construct(\MessagePack\PackOptions::FORCE_STR);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function packStr($str)
|
public function packStr($str)
|
||||||
|
|
Loading…
Reference in New Issue