Re-run civix generate:module
I notice that the _civix files are based on an old template & notably have this static line that we removed as it's known to cause problems
https://lab.civicrm.org/extensions/afform/blob/master/html/afform_html.civix.php#L438
Steps to take
- There are a few PRs against civix that I think should be merged https://github.com/totten/civix/pulls
- Tim should update his civix since I think that line was removed quite a long time before afform was first generated
- Tim or me should commit a civix update to the modules