Skip to content

[12.x] Improve the return types for Number::with*() helpers#58358

Merged
taylorotwell merged 1 commit intolaravel:12.xfrom
CasEbb:number-helper-docblock
Jan 13, 2026
Merged

[12.x] Improve the return types for Number::with*() helpers#58358
taylorotwell merged 1 commit intolaravel:12.xfrom
CasEbb:number-helper-docblock

Conversation

@CasEbb
Copy link
Contributor

@CasEbb CasEbb commented Jan 13, 2026

This PR narrows the return type of the Number::with*() functions to the return type of the callback for better IDE autocompletion.

@taylorotwell taylorotwell merged commit 26fbc4f into laravel:12.x Jan 13, 2026
72 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

Comments