Skip to content

Conversation

@ithuis
Copy link

@ithuis ithuis commented Sep 8, 2023

No description provided.

Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this major feature.

There is already a test for the morph feature. If you've found a specific issue that requires overloading this 2 methods, could you add new tests?


// Check if it is a relation with an original model.
if (! is_subclass_of($related, MongoDBModel::class)) {
if (!is_subclass_of($related, MongoDBModel::class)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you revert this changes using php vendor/bin/phpcbf.

@ithuis
Copy link
Author

ithuis commented Sep 8, 2023

sorry, this is not good. Will be back with a working one

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