Skip to content

Conversation

@taka-oyama
Copy link
Contributor

Hi again.

This is another PR to add and improve the PhpDoc by adding generics to all things attributes related in Eloquent.

This will result in better static type checking when using tools like phpstan or IDEs like PhpStorm.

@taka-oyama taka-oyama changed the title fix: add generics to Model attribute related methods and properties. [12.x] add generics to Model attribute related methods and properties. Jun 9, 2025
@taka-oyama taka-oyama changed the title [12.x] add generics to Model attribute related methods and properties. [12.x] add generics to Model attribute related methods and properties Jun 9, 2025
@taylorotwell taylorotwell merged commit 06f7848 into laravel:12.x Jun 9, 2025
61 checks passed
@taka-oyama taka-oyama deleted the fix/add-types-to-model-attrs branch June 10, 2025 00:23
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