Closed cuongnguyentan closed 1 year ago
Hi,
I have introduce a new model "Domiciliation" in the response parsing.
Can you update your project and test again to check this improvements ?
Best regards
Thank you, it works for the domiciliation field now
But now I've got another error for the field rnm
Argument 1 passed to WBW\Library\Pappers\Model\Entreprise::setRnm() must be of the type string or null, array given
Please, update with the last changes and test again.
Thanks you for your feedback
I've tried again with the latest code and it works fine for our project now. Thank you for your support
You're welcome.
Best regards
https://github.com/webeweb/pappers-library/blob/ca1b19bef8fd5f654be0d32da2c3f4d7dba94a93/src/Model/Etablissement.php#L297
Firstly, thank you for the open source.
I'm having the issue where the field domiciliation in Etablissement is of type object array, not of type string, as indicated in the api documentation:
This results in the error
Argument 1 passed to WBW\Library\Pappers\Model\Etablissement::setDomiciliation() must be of the type string or null, array given
Would be great if you can update the model or give instruction on how I can contribute.
Thank you.