I am trying to integrate the php sdk but I am getting the below error when trying to refresh token. Please help
Fatal error : Call to a member function getRefreshToken() on string in /home/spmglms/public_html/Lead/vendor/infusionsoft/php-sdk/src/Infusionsoft/Infusionsoft.php on line 312