mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 04:45:13 +00:00
fix exceptions
This commit is contained in:
parent
827e836c4d
commit
784ba588ab
@ -130,7 +130,7 @@ class Manticore
|
||||
{
|
||||
if (false === $key = json_encode($key))
|
||||
{
|
||||
throw new Exception();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@ -138,7 +138,7 @@ class Manticore
|
||||
{
|
||||
if (false === $value = json_encode($value))
|
||||
{
|
||||
throw new Exception();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user