Skip to content

Conversation

@innocenzi
Copy link
Member

This pull request fixes a typo in the docblocks of Arr\remove_values regarding its mutability, and more importantly, actually fixes the mutability of Arr\forget_values and Arr\forget_keys.

Those two functions were meant to be mutable, and have immutable counterparts (Arr\remove_values and Arr\remove_keys), but the first argument was not passed as reference.

Tests have been added to cover them.

@innocenzi innocenzi merged commit 286d9a0 into tempestphp:main May 8, 2025
67 checks passed
@innocenzi innocenzi deleted the fix/forget-values branch May 8, 2025 11:00
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.

1 participant