Bugfix
This commit is contained in:
parent
47a77c498b
commit
07db79dcb6
@ -153,11 +153,7 @@ trait TL
|
|||||||
|
|
||||||
return $concat;
|
return $concat;
|
||||||
case 'Bool':
|
case 'Bool':
|
||||||
if (!is_bool($object)) {
|
return $this->serialize_bool((bool)$object);
|
||||||
throw new Exception("given value isn't a boolean");
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->serialize_bool($object);
|
|
||||||
case 'true':
|
case 'true':
|
||||||
return;
|
return;
|
||||||
case '!X':
|
case '!X':
|
||||||
|
Loading…
Reference in New Issue
Block a user