NikolaGavric94 / laravel-square

Square integration with Laravel/Lumen >=5.5
MIT License
31 stars 23 forks source link

UpdateCustomerRequest use to fix Square TypeError #71

Closed alexoleynik0 closed 2 years ago

alexoleynik0 commented 2 years ago

Every time setCustomer with old $customer was called, this error occured:

TypeError: Argument 2 passed to Square\Apis\CustomersApi::updateCustomer() must be an instance of Square\Models\UpdateCustomerRequest, instance of Square\Models\CreateCustomerRequest given.

fixes NikolaGavric94/laravel-square#70