[ticket/11271] Formatting code and removing null assignment.

Formatted code and replaced null assignment with empty array
assignment to attachments parameter in method 'feed_generate_content'.

PHPBB3-11271