code optimization, improved parameter validation and debug messages

- removed repetitive code (json_decode and $this>baseurl)
- added capture of JSON decoding errors when debug = true
- use intval() on function/method parameters which must be an integer
- further parameter validation/checks
This commit is contained in:
malle-pietje 2017-10-12 17:21:50 +02:00
parent 6fd7e6e598
commit 746a29fbcf

File diff suppressed because it is too large Load Diff