chargebee / chargebee-php

PHP library for the Chargebee API.
https://apidocs.chargebee.com/docs/api?lang=php
MIT License
72 stars 62 forks source link

Made ListResult->$_index initialize, to be compatible with php8 #38

Closed TobiasFP closed 2 years ago

TobiasFP commented 3 years ago

Currently, we use chargebeephp with our php7.4 project without hazzle, however, we now have problems that private $_index gets initialized to null in php 0. We therefore have to fix it by utilizing the rewind command, but this is not quite logical/readable, and would therefore prefer to simply have it initialized from the get go.

TobiasFP commented 2 years ago

@cb-yateshmathuria it would be really helpfull if you could look into this, the change is so miniscule.

cb-yateshmathuria commented 2 years ago

This has been addressed in v3.2.0