Skip to content

Fix copy-paste oversights in docblocks #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025
Merged

Conversation

miclf
Copy link
Contributor

@miclf miclf commented Jul 2, 2025

Just a tiny change :)

Docblocks for array_last() polyfills have been copy-pasted from those for array_first(). As a result, they claim to retrieve the first item of an array instead of the last one.

This does not change any code, only docblocks.

Signed-off-by: Michaël <miclf@users.noreply.github.com>
@Ayesh
Copy link
Collaborator

Ayesh commented Jul 3, 2025

Awesome, thank you!

@Ayesh Ayesh merged commit cfa88ce into PHP-Polyfills:main Jul 3, 2025
14 checks passed
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