Fixing msgpack custom

This commit is contained in:
Pavel Shevaev 2022-05-16 17:55:38 +03:00
parent d3f562cfa2
commit 5186692433
2 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,6 @@
"php": ">=7.4" "php": ">=7.4"
}, },
"autoload": { "autoload": {
"classmap": ["config.inc.php"] "classmap": ["config.inc.php", "msgpack_custom.inc.php"]
} }
} }

View File

@ -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)