Skip to content

Conversation

parijke
Copy link
Contributor

@parijke parijke commented Sep 24, 2025

This fixes a phpstan error, where the value returned from this method apparantly could be null. Because of the guard clause in this method, the method itself assures that nothing else but an array can ever be returned. Otherwise, an exceptions is thrown.

Therefor, the null in the docblock is incorrect.

This changes fixes this.

@taylorotwell taylorotwell merged commit f59db8f into laravel:12.x Sep 24, 2025
65 checks passed
tegos pushed a commit to tegos/laravel-framework that referenced this pull request Sep 28, 2025
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