TypeError thrown

Return value of NF_Admin_Metaboxes_Calculations::registerReactMetabox() must be an instance of void, none returned