TYPOC-48: Add missing phpdocs, CS
TYPOC-48: CS
TYPOC-48: Fix missing commata in SQL