Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Fix PHPDoc return type on Collection's unique() #34167

Merged

Conversation

Daanra
Copy link
Contributor

@Daanra Daanra commented Sep 6, 2020

The unique method on the \Illuminate\Database\Eloquent\Collection class always returns a new static instance and never an instance of \Illuminate\Support\Collection.

This PR corrects the PHPDoc.

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.

None yet

2 participants