Skip to content

Order the page meta contents with the pagination entries first. - #7

Merged
gustavofreze merged 2 commits into
mainfrom
fix/page-metadata-order
Aug 3, 2026
Merged

Order the page meta contents with the pagination entries first.#7
gustavofreze merged 2 commits into
mainfrom
fix/page-metadata-order

Conversation

@gustavofreze

Copy link
Copy Markdown
Member

Please follow the contributing guidelines.

Summary

What this pull request does.

Related issue

Closes #...

Checklist

  • Tests added or updated.
  • Documentation updated when applicable.
  • composer review passes.
  • composer tests passes.

The 2.2.0 shape put the supplied entries ahead of the pagination ones,
because the last key of a spread wins and that was how a supplied key was
kept from shadowing the real page size. Discarding the colliding keys with
array_diff_key protects them just as well and leaves the counts and sizes
where the meta contract documents them, at the front.
@gustavofreze
gustavofreze merged commit 4be9ec0 into main Aug 3, 2026
7 checks passed
@gustavofreze
gustavofreze deleted the fix/page-metadata-order branch August 3, 2026 22:30
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