Just realised that we don't mention the function keyword when rendering.
Many people have previously complained that our synopsises don't look like valid PHP code and we've been slowly remediating this. I guess this is another instance of a rendering change we should implement.