Skip to content

[12.x] add generics to array types for Schema Grammars#55314

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
taka-oyama:fix/php-doc-schema
Apr 7, 2025
Merged

[12.x] add generics to array types for Schema Grammars#55314
taylorotwell merged 1 commit into
laravel:12.xfrom
taka-oyama:fix/php-doc-schema

Conversation

@taka-oyama

Copy link
Copy Markdown
Contributor

I added generics to classes in Illuminate/Database/Schema/Grammars for better static type checking when using PHPStan.

I replaced some methods with @inheritDoc where it made sense.

@taylorotwell taylorotwell merged commit e1e4913 into laravel:12.x Apr 7, 2025
@taka-oyama taka-oyama deleted the fix/php-doc-schema branch April 8, 2025 23:54
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