TYPOC-48: Fix CS and missing phpdoc
TYPOC-48: Fix missing type hints