Browse Source

fix exceptions

main
ghost 9 months ago
parent
commit
784ba588ab
  1. 4
      src/Manticore.php

4
src/Manticore.php

@ -130,7 +130,7 @@ class Manticore
{ {
if (false === $key = json_encode($key)) if (false === $key = json_encode($key))
{ {
throw new Exception(); return null;
} }
} }
@ -138,7 +138,7 @@ class Manticore
{ {
if (false === $value = json_encode($value)) if (false === $value = json_encode($value))
{ {
throw new Exception(); return null;
} }
} }

Loading…
Cancel
Save