Skip to content

Conversation

@backportbot-nextcloud
Copy link

Backport of #42405

With array_unique it is possible that the keys are not in sequential order
but have gaps. json_encode then would store them as associative array,
which later on json_decode would result in a stdClass by default. This is
unexpected and would also contradict the return type hint.

Signed-off-by: Arthur Schiwon <[email protected]>
@artonge artonge enabled auto-merge January 2, 2024 11:29
@artonge artonge merged commit 138a471 into stable27 Jan 2, 2024
@artonge artonge deleted the backport/42405/stable27 branch January 2, 2024 11:30
@blizzz blizzz mentioned this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants