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

[5.4] Wrong type of argument for formatRecordsList method in InteractsWithPivotTable trait. #18547

Merged
merged 1 commit into from
Mar 29, 2017

Conversation

malyusha
Copy link
Contributor

@malyusha malyusha commented Mar 28, 2017

When using sync method and passing only one eloquent model as first argument Fatal error is thrown, because formatRecordsList accepts only arrays, but result of parseIds method is not casted to type like in toggle method.

Type for result of parseIds method. When using sync method and passing only one eloquent model as first argument Fatal error is thrown, because formatRecordsList accepts only arrays, but result of parseIds method is not casted to type like in (for example) in toggle method.
@tillkruss tillkruss changed the title Wrong type of argument for formatRecordsList method in InteractsWithPivotTable trait. [5.4] Wrong type of argument for formatRecordsList method in InteractsWithPivotTable trait. Mar 28, 2017
@taylorotwell taylorotwell merged commit 058dbed into laravel:5.4 Mar 29, 2017
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