Closed anzmage closed 7 years ago
@ansyori The message is correct, the first parameter should be the plugin subject/object, the second one in your case (before) should be the parameter you want to modify. Because the purpose of before plugins is modify the parameters before doing something.
The warning message is indeed incorrect, a backend model has a beforeSave() function that is not a plugin. It shouldn't warn in this case. I just stumbled upon the same problem.
i think this warning message is incorrect... this message show on my backend model for product attribute