Merge pull request #9661 from monishdeb/CRM-18141
[civicrm-core.git] / Civi / Token / TokenProcessor.php
index b373a80686ad21aad2a56f86919d79607a6ea002..99a0f0f9c43d91e1674c22f853a9aa0a39b5de82 100644 (file)
@@ -88,7 +88,7 @@ class TokenProcessor {
    *   Ex: '<p>Hello {contact.name}</p>'.
    * @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'];