Jump to content

Useless method overriding detected contruct function object model


Recommended Posts

I create an object model like this:



public function __construct($id_video = null, $id_lang = null, $id_shop = null, Context $context = null)
{
parent::__construct($id_video, $id_lang, $id_shop, $context);
}

I get an error "Useless method overriding detected" when try to validate module. Please help me fix this error! I searched but no result found.


Link to comment
Share on other sites

×
×
  • Create New...