From e14c912ffde40db47242219a3ac60970b2e35e76 Mon Sep 17 00:00:00 2001 From: eileen Date: Sun, 3 Nov 2019 17:42:46 +1300 Subject: [PATCH] Add a couple of throws to comments --- CRM/Contact/BAO/Query.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index d072e74491..44b1048cb8 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -463,6 +463,8 @@ class CRM_Contact_BAO_Query { * @param string $operator * @param string $apiEntity * @param bool|null $primaryLocationOnly + * + * @throws \CRM_Core_Exception */ public function __construct( $params = NULL, $returnProperties = NULL, $fields = NULL, @@ -548,6 +550,8 @@ class CRM_Contact_BAO_Query { * @param string $apiEntity * The api entity being called. * This sort-of duplicates $mode in a confusing way. Probably not by design. + * + * @throws \CRM_Core_Exception */ public function initialize($apiEntity = NULL) { $this->_select = []; @@ -3645,6 +3649,8 @@ WHERE $smartGroupClause * Where / qill clause for phone type/location * * @param array $values + * + * @throws \CRM_Core_Exception */ public function phone_option_group($values) { list($name, $op, $value, $grouping, $wildcard) = $values; @@ -4040,6 +4046,8 @@ WHERE $smartGroupClause /** * @param $values + * + * @throws \CRM_Core_Exception */ public function demographics(&$values) { list($name, $op, $value, $grouping, $wildcard) = $values; -- 2.25.1