Skip to content

Fix resolveResourceClass crash when data is an array#36

Merged
brunogaspar merged 1 commit into
mainfrom
fix-resource-map-array-data
May 17, 2026
Merged

Fix resolveResourceClass crash when data is an array#36
brunogaspar merged 1 commit into
mainfrom
fix-resource-map-array-data

Conversation

@brunogaspar
Copy link
Copy Markdown
Member

@brunogaspar brunogaspar commented May 17, 2026

Return null for non-object, non-string values instead of attempting to access ::class on arrays or scalars.


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

Return null for non-object, non-string values instead of attempting
to access ::class on arrays or scalars.

Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
@brunogaspar brunogaspar self-assigned this May 17, 2026
@brunogaspar brunogaspar added the changelog:fixed Bug fixes label May 17, 2026
@brunogaspar brunogaspar merged commit f649452 into main May 17, 2026
4 checks passed
@brunogaspar brunogaspar deleted the fix-resource-map-array-data branch May 17, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant