Open BillyPurvis opened 5 years ago
$decoded_response = json_decode($response['body'], true);
Can return NULL. The following line tries to count a type (NULL) which isn't a countable type which in turn produces a warning message.
The proposed fix solves this.
Can return NULL. The following line tries to count a type (NULL) which isn't a countable type which in turn produces a warning message.
The proposed fix solves this.