FuelSDK-PHP icon indicating copy to clipboard operation
FuelSDK-PHP copied to clipboard

Fix PHP 7.4 bug #159

Open mstralka opened this issue 4 years ago • 8 comments

Sorry for the reformatting this was really only a few changes to fix #159 by changing several instances of:

if ($this->tenantTokens[$tenantKey] == null) {

to

if (!isset($this->tenantTokens[$tenantKey]) || $this->tenantTokens[$tenantKey] == null) {

and initializing $this->tenantTokens in the constructor instead of a local variable.

mstralka avatar Jun 02 '20 20:06 mstralka