API client class v1.1.85
- removed unnecessary type casting in several methods
- fixed return type hinting in several methods where return type needed to be array|bool instead of just array
- relaxed parameter type hinting in the constructor to allow for null values for several parameters that have sensible defaults, reported by @pbksol
- using phpstan, the class passes level 5 checks