From 0ba33ffb3d7a9ccc04b46daa9995bba45cdaa513 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 22 Dec 2016 15:51:04 -0600 Subject: [PATCH] CRM-19690 - CRM_Mailing_{Action,}Tokens - Docblock tweak --- CRM/Mailing/ActionTokens.php | 13 +------------ CRM/Mailing/Tokens.php | 18 ++---------------- 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/CRM/Mailing/ActionTokens.php b/CRM/Mailing/ActionTokens.php index 15878ae7b8..7bdbc124d2 100644 --- a/CRM/Mailing/ActionTokens.php +++ b/CRM/Mailing/ActionTokens.php @@ -62,18 +62,7 @@ class CRM_Mailing_ActionTokens extends \Civi\Token\AbstractTokenSubscriber { } /** - * Evaluate the content of a single token. - * - * @param \Civi\Token\TokenRow $row - * The record for which we want token values. - * @param string $entity - * @param string $field - * The name of the token field. - * @param mixed $prefetch - * Any data that was returned by the prefetch(). - * - * @return mixed - * @throws \CRM_Core_Exception + * @inheritDoc */ public function evaluateToken( \Civi\Token\TokenRow $row, diff --git a/CRM/Mailing/Tokens.php b/CRM/Mailing/Tokens.php index 257386a43e..5fa086d8c2 100644 --- a/CRM/Mailing/Tokens.php +++ b/CRM/Mailing/Tokens.php @@ -58,11 +58,7 @@ class CRM_Mailing_Tokens extends \Civi\Token\AbstractTokenSubscriber { } /** - * Check something about being active. - * - * @param \Civi\Token\TokenProcessor $processor - * - * @return bool + * @inheritDoc */ public function checkActive(\Civi\Token\TokenProcessor $processor) { return !empty($processor->context['mailingId']) || !empty($processor->context['mailing']); @@ -80,17 +76,7 @@ class CRM_Mailing_Tokens extends \Civi\Token\AbstractTokenSubscriber { } /** - * Evaluate the content of a single token. - * - * @param \Civi\Token\TokenRow $row - * The record for which we want token values. - * @param string $entity - * @param string $field - * The name of the token field. - * @param mixed $prefetch - * Any data that was returned by the prefetch(). - * - * @return mixed + * @inheritDoc */ public function evaluateToken(\Civi\Token\TokenRow $row, $entity, $field, $prefetch = NULL) { $row->format('text/plain')->tokens($entity, $field, -- 2.25.1