plugin
plugin copied to clipboard
[Bug]: Wrong helper for magic method in factory when using HasOne
Bug description
When trying to use magic method for a model with a has one relationship, it suggests "for" instead of "has" which is incorrect.
Plugin version
7.4.3.232
Operating system
MacOS
Steps to reproduce
I have a Client model that has "HasOne" relation with the ClientHighLevelInformation model.
When trying to do Client::factory()-> , it suggests forClientHighLevelInformation() instead of hasClientHighLevelInformation() which is the correct one.
Relevant log output
No response