From 99cd5892ee6386595dff3b950cb4eaefafa2b1de Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 24 Jan 2020 16:17:21 -0800 Subject: [PATCH] (NFC) Civi/CCase - Update for Drupal.Commenting.VariableComment.IncorrectVarType --- Civi/CCase/Analyzer.php | 15 ++++++++++++--- Civi/CCase/Events.php | 8 ++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/Civi/CCase/Analyzer.php b/Civi/CCase/Analyzer.php index 64c3303aea..d167b6b6a2 100644 --- a/Civi/CCase/Analyzer.php +++ b/Civi/CCase/Analyzer.php @@ -22,7 +22,9 @@ class Analyzer { private $caseId; /** - * @var array per APIv3 + * The "Case" data, formatted per APIv3. + * + * @var array */ private $case; @@ -32,7 +34,9 @@ class Analyzer { private $caseType; /** - * @var array per APIv3 + * List of activities, formatted per APIv3. + * + * @var array */ private $activities; @@ -42,7 +46,12 @@ class Analyzer { private $xml; /** - * @var array + * A list of activity indices, which sort the various activities by some set of keys. + * + * Each index is identified by its key-set - e.g. "activity_type_id;source_contact_id" would be a + * two-dimensional index listing activities by their type ID and their source. + * + * @var array */ private $indices; diff --git a/Civi/CCase/Events.php b/Civi/CCase/Events.php index 89ce8c6d30..114875f17e 100644 --- a/Civi/CCase/Events.php +++ b/Civi/CCase/Events.php @@ -16,10 +16,14 @@ namespace Civi\CCase; * @package Civi\CCase */ class Events { + /** - * @var array (int $caseId => bool $active) list of cases for which we are actively firing case-change event - * + * List of cases for which we are actively firing case-change event * We do not want to fire case-change events recursively. + * + * array (int $caseId => bool $active) + * + * @var array */ public static $isActive = []; -- 2.25.1