original_string: public function getTokenName(array $tokenData = null)
      {
          $data[] = $tokenData['grs_first_name'];
          $data[] = $tokenData['grs_surname_prefix'];
          $data[] = $tokenData['grs_last_name'];
  
          $data = array_filter(array_map('trim', $data)); // Remove empties
  
          return implode(' ', $data);
      }
code: public function getTokenName(array $tokenData = null)
      {
          $data[] = $tokenData['grs_first_name'];
          $data[] = $tokenData['grs_surname_prefix'];
          $data[] = $tokenData['grs_last_name'];
  
          $data = array_filter(array_map('trim', $data)); // Remove empties
  
          return implode(' ', $data);
      }
code_tokens: public function getTokenName ( array $ tokenData = null ) { $ data [ ] = $ tokenData [ 'grs_first_name' ] ; $ data [ ] = $ tokenData [ 'grs_surname_prefix' ] ; $ data [ ] = $ tokenData [ 'grs_last_name' ] ; $ data = array_filter ( array_map ( 'trim' , $ data ) ) ; // Remove empties return implode ( ' ' , $ data ) ; }
docstring: Returns the name of the user mentioned in this token
  in human-readable format
  
  @param  array $tokenData
  @return string
docstring_tokens: Returns the name of the user mentioned in this token in human - readable format