You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I can't use AccountingApi() even though I manually imported this above XeroAPI\XeroPHP\Api\AccountingApi. I'm using php Laravel.
To Reproduce
Just type the AccountingApi class name for any IDE which provides an auto-complete feature. I'm using Visual Studio Code as my code editor.
Expected behavior
Undefined type 'XeroAPI\XeroPHP\Api\AccountingApi'
Screenshots
The text was updated successfully, but these errors were encountered:
Found this problem while looking into why PHP memory usage jumps to 32mb when we instantiate this class.
Couldn't find a solution to my problem, but for your problem the issue is actually IDE can't load the file as it's ~3mb. This was discussed in #158. They were using PHPStorm, but I observed the same behaviour in VSCode.
SDK you're using (please complete the following information):
This is the package that I installed https://github.com/XeroAPI/xero-php-oauth2
Version 2.23.2
Describe the bug
I can't use AccountingApi() even though I manually imported this above XeroAPI\XeroPHP\Api\AccountingApi. I'm using php Laravel.
To Reproduce
Just type the AccountingApi class name for any IDE which provides an auto-complete feature. I'm using Visual Studio Code as my code editor.
Expected behavior
Undefined type 'XeroAPI\XeroPHP\Api\AccountingApi'
Screenshots
The text was updated successfully, but these errors were encountered: