X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FToken%2FTokenProcessor.php;h=99a0f0f9c43d91e1674c22f853a9aa0a39b5de82;hb=960fbd5558011a2f16b98b60353eb91e18ce4728;hp=b373a80686ad21aad2a56f86919d79607a6ea002;hpb=88cdfcb1999b6cba85e1cb5d68eb4df891cdd028;p=civicrm-core.git diff --git a/Civi/Token/TokenProcessor.php b/Civi/Token/TokenProcessor.php index b373a80686..99a0f0f9c4 100644 --- a/Civi/Token/TokenProcessor.php +++ b/Civi/Token/TokenProcessor.php @@ -88,7 +88,7 @@ class TokenProcessor { * Ex: '

Hello {contact.name}

'. * @param string $format * Ex: 'text/html'. - * @return $this + * @return TokenProcessor */ public function addMessage($name, $value, $format) { $this->messages[$name] = array( @@ -121,7 +121,7 @@ class TokenProcessor { * - entity: string, e.g. "profile". * - field: string, e.g. "viewUrl". * - label: string, e.g. "Default Profile URL (View Mode)". - * @return $this + * @return TokenProcessor */ public function addToken($params) { $key = $params['entity'] . '.' . $params['field'];