Skip to content

Comments

[params] Enable DELETE method to use params.#22

Merged
bahiirwa merged 1 commit intodevelopfrom
feature/laurence/add-params-to-delete-method
Jan 25, 2026
Merged

[params] Enable DELETE method to use params.#22
bahiirwa merged 1 commit intodevelopfrom
feature/laurence/add-params-to-delete-method

Conversation

@bahiirwa
Copy link
Contributor

No description provided.

@bahiirwa bahiirwa changed the base branch from master to develop January 21, 2026 12:04
$opts[CURLOPT_RETURNTRANSFER] = true;
}
else if ('GET' === $pMethod && ! empty($pParams))
else if (('GET' === $pMethod || 'DELETE' === $pMethod) && !empty($pParams))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me but I think the space after the ! is necessary based on the code convention

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that. This is fixed.

@bahiirwa bahiirwa force-pushed the feature/laurence/add-params-to-delete-method branch from 00a989c to 75b0762 Compare January 25, 2026 08:46
@bahiirwa bahiirwa merged commit f2d4929 into develop Jan 25, 2026
@bahiirwa bahiirwa deleted the feature/laurence/add-params-to-delete-method branch January 25, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants