Update objects to use __toString()

This commit is contained in:
Deon George
2020-06-24 22:37:14 +10:00
parent 358f28273c
commit 9936e839a4
15 changed files with 145 additions and 78 deletions

View File

@@ -11,7 +11,7 @@ class ModificationDetectionCodePacket extends Packet
{
protected $tag = 19;
function header_and_body(): array
protected function header_and_body(): array
{
// Get body first, we will need it's length
$body = $this->body();