original_string: public static function get_metadata(collection $collection) : collection {
          $collection->add_user_preference('block_timeline_user_sort_preference', 'privacy:metadata:timelinesortpreference');
          $collection->add_user_preference('block_timeline_user_filter_preference', 'privacy:metadata:timelinefilterpreference');
          $collection->add_user_preference('block_timeline_user_limit_preference', 'privacy:metadata:timelinelimitpreference');
          return $collection;
      }
code: public static function get_metadata(collection $collection) : collection {
          $collection->add_user_preference('block_timeline_user_sort_preference', 'privacy:metadata:timelinesortpreference');
          $collection->add_user_preference('block_timeline_user_filter_preference', 'privacy:metadata:timelinefilterpreference');
          $collection->add_user_preference('block_timeline_user_limit_preference', 'privacy:metadata:timelinelimitpreference');
          return $collection;
      }
code_tokens: public static function get_metadata ( collection $ collection ) : collection { $ collection -> add_user_preference ( 'block_timeline_user_sort_preference' , 'privacy:metadata:timelinesortpreference' ) ; $ collection -> add_user_preference ( 'block_timeline_user_filter_preference' , 'privacy:metadata:timelinefilterpreference' ) ; $ collection -> add_user_preference ( 'block_timeline_user_limit_preference' , 'privacy:metadata:timelinelimitpreference' ) ; return $ collection ; }
docstring: Returns meta-data information about the myoverview block.
  
  @param  \core_privacy\local\metadata\collection $collection A collection of meta-data.
  @return \core_privacy\local\metadata\collection Return the collection of meta-data.
docstring_tokens: Returns meta - data information about the myoverview block .