PSR-2 clean up

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>
Type hint and docblock on post save

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>