Add type hint for $message & fix mixed indenting.