diff --git a/src/danog/MadelineProto/TL/TL.php b/src/danog/MadelineProto/TL/TL.php index ee3c2a79..7e4979df 100644 --- a/src/danog/MadelineProto/TL/TL.php +++ b/src/danog/MadelineProto/TL/TL.php @@ -140,7 +140,9 @@ class TL return $concat; break; + default: + throw new Exception("Couldn't serialize param with type ".$type_); break; } }