Skip to content

[13.x] Mark generation type field nullable in processColumns @return shape#59960

Merged
taylorotwell merged 1 commit intolaravel:13.xfrom
mosabbirrakib:processor-columns-generation-type-nullable
May 1, 2026
Merged

[13.x] Mark generation type field nullable in processColumns @return shape#59960
taylorotwell merged 1 commit intolaravel:13.xfrom
mosabbirrakib:processor-columns-generation-type-nullable

Conversation

@mosabbirrakib
Copy link
Copy Markdown
Contributor

The processColumns shape declares generation: array{type: string, ...}, but three of the four concrete implementations have a default => null arm in their type match:

  • MySqlProcessor line 61: default => null
  • PostgresProcessor line 98: default => null
  • SQLiteProcessor line 46: default => null

So generation.type is genuinely nullable. Tightening the parent shape to type: string|null to match.

@taylorotwell taylorotwell merged commit 6d0b518 into laravel:13.x May 1, 2026
54 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