original_string: public static function completeFields($data) {
  		foreach( static::$fields as $fieldname ) {
  			if( !isset($data[$fieldname]) ) {
  				$data[$fieldname] = '';
  			}
  		}
  		return $data;
  	}
code: public static function completeFields($data) {
  		foreach( static::$fields as $fieldname ) {
  			if( !isset($data[$fieldname]) ) {
  				$data[$fieldname] = '';
  			}
  		}
  		return $data;
  	}
code_tokens: public static function completeFields ( $ data ) { foreach ( static :: $ fields as $ fieldname ) { if ( ! isset ( $ data [ $ fieldname ] ) ) { $ data [ $ fieldname ] = '' ; } } return $ data ; }
docstring: Complete missing fields
  
  @param array $data The data array to complete.
  @return array The completed data array.
  
  Complete an array of data of an object of this class by setting missing fields with empty string.
docstring_tokens: Complete missing fields