Skip to content

Conversation

@Weeblewonder
Copy link

Using fix suggested by sorora in issue #6 thread as it worked for me. NOT authored by myself, pulled from this commit here https://github.com/sorora/Laravel-Test-Helpers/commit/4658c228959f03ca46a4c8c5bdfdfb2f34fe65b4 reduced switch to 2 cases as relationship method only uses 2 arguments ($relation, $foreignKey) correct?
Also 1st time pull request so apologies for doing anything wrong :P

Using fix suggested by sorora in issue #6 thread as it worked for me. NOT authored by myself, pulled from this commit here https://github.com/sorora/Laravel-Test-Helpers/commit/4658c228959f03ca46a4c8c5bdfdfb2f34fe65b4 reduced switch to 2 cases as relationship method only uses 2 arguments ($relation, $foreignKey) correct?
Also 1st time pull request so apologies for doing anything wrong :P
@Weeblewonder
Copy link
Author

Bump. Please could you take a look at this and merge it if you're happy with it? Its a pain to keep having to edit the file when the composer package updates or I install a new project.

Thanks.

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.

1 participant