Open
Description
it looks like you have lots of redundant if conditions. basically, it's the same check copied in different files.
here are example files
https://github.com/HubSpot/hubspot-api-php/blob/master/codegen/Crm/Associations/V4/Api/BasicApi.php#L1372
https://github.com/HubSpot/hubspot-api-php/blob/master/codegen/Crm/Associations/V4/Api/BasicApi.php#L1376
https://github.com/HubSpot/hubspot-api-php/blob/master/codegen/Crm/Contacts/Api/BasicApi.php#L449
https://github.com/HubSpot/hubspot-api-php/blob/master/codegen/Crm/Contacts/Api/BasicApi.php#L449
https://github.com/HubSpot/hubspot-api-php/blob/master/codegen/Crm/Companies/Api/BasicApi.php#L449
https://github.com/HubSpot/hubspot-api-php/blob/master/codegen/Crm/Companies/Api/BasicApi.php#L449
Metadata
Metadata
Assignees
Labels
No labels