Skip to content

Type the callback for Relation::noConstraints#54572

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
simon-tma:patch-4
Feb 12, 2025
Merged

Type the callback for Relation::noConstraints#54572
taylorotwell merged 1 commit into
laravel:11.xfrom
simon-tma:patch-4

Conversation

@simon-tma

Copy link
Copy Markdown
Contributor

This allows PHPStan to know the return type of Relation::noConstraints, rather than passing a mixed value around.

@taylorotwell taylorotwell merged commit d8ecb1d into laravel:11.x Feb 12, 2025
@simon-tma simon-tma deleted the patch-4 branch February 13, 2025 00:43
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