1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 06:59:01 +01:00

Fix build

This commit is contained in:
Daniil Gentili 2021-12-06 20:29:18 +01:00
parent c82ee47959
commit 7bc7a633c7
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 2 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit ee670d480786e65caa89266bdf859c0e6ad4521e
Subproject commit 7a5c809a77ce57cc67ea1e37e8653d002f26da41

View File

@ -50,7 +50,7 @@ namespace tgseclib\Math {
{
throw new \Exception("Can't serialize legacy class!");
}
public function unserialize(string $data)
public function unserialize($data)
{
$r = \unserialize($data);
$this->real = new MathBigInteger($r['hex'], -16);