Open
Description
Many signatures are not even correct for 4.x but especially for 5.x types, e.g. $options is often an array type:
afterSave($event, $entity, $options = [])
.. php:staticmethod:: slug($string, $options = [])
.. php:staticmethod:: plugin($name, $options = [], $callback)
.. php:method:: deleteMany($entities, $options = [])
beforeSave(EventInterface $event, $entity, $options)
.. php:method:: controls(array $fields = [], $options = [])
.. php:method:: setPaginated($paginated, $options)
could all be typed in docs as they are in reality
I wonder if there is a more programmatic way to sync the docs to actual code?