Skip to content

[11.x] Improve PHPDoc for nullable properties in Illuminate\Database\Query\Builder class#53793

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
xurshudyan:improve-query-builder-property-types
Dec 8, 2024
Merged

[11.x] Improve PHPDoc for nullable properties in Illuminate\Database\Query\Builder class#53793
taylorotwell merged 1 commit into
laravel:11.xfrom
xurshudyan:improve-query-builder-property-types

Conversation

@xurshudyan
Copy link
Copy Markdown
Contributor

  • These properties can be null until their corresponding methods are called, at which point they are set.
  • This update ensures better accuracy and helps static analysis tools like PHPStan to understand the nullable nature of these properties.

@taylorotwell taylorotwell merged commit f5777a3 into laravel:11.x Dec 8, 2024
browner12 pushed a commit to browner12/framework that referenced this pull request Dec 10, 2024
Co-authored-by: Xurshudyan <v.khurshudyan@aico.swiss>
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