Skip to content

Add support for single-parameter cast functions in class-level casting#67

Merged
zero-to-prod merged 1 commit into
mainfrom
feat/single-parameter-cast
Jun 3, 2026
Merged

Add support for single-parameter cast functions in class-level casting#67
zero-to-prod merged 1 commit into
mainfrom
feat/single-parameter-cast

Conversation

@zero-to-prod

@zero-to-prod zero-to-prod commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Description

Add support for single-parameter cast functions in class-level casting

Handle cast functions with varying parameter counts by detecting the number of parameters and passing only the required arguments. Add test coverage for readonly properties with class-level cast using native PHP functions like strtolower.

Handle cast functions with varying parameter counts by detecting the number of parameters and passing only the required arguments. Add test coverage for readonly properties with class-level cast using native PHP functions like `strtolower`.
@zero-to-prod zero-to-prod self-assigned this Jun 3, 2026
@zero-to-prod zero-to-prod added the enhancement New feature or request label Jun 3, 2026
@zero-to-prod zero-to-prod merged commit 0124902 into main Jun 3, 2026
14 checks passed
@zero-to-prod zero-to-prod deleted the feat/single-parameter-cast branch June 3, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant