Fix phpdoc types for $_query in CRM_Core_Selector_Base subclasses
authorBradley Taylor <hello@brad-taylor.co.uk>
Sat, 8 Jan 2022 12:14:31 +0000 (12:14 +0000)
committerBradley Taylor <hello@brad-taylor.co.uk>
Sat, 8 Jan 2022 12:14:31 +0000 (12:14 +0000)
CRM/Activity/Selector/Search.php
CRM/Campaign/Selector/Search.php
CRM/Case/Selector/Search.php
CRM/Contribute/Selector/Search.php
CRM/Grant/Selector/Search.php
CRM/Mailing/Selector/Search.php

index 059da027633712fedcc50918fd2482098af45be2..bb56feaafc128eaf7b46d454072742f2924482f1 100644 (file)
@@ -113,7 +113,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   /**
    * The query object.
    *
-   * @var \CRM_Contact_BAO_Query
+   * @var CRM_Contact_BAO_Query
    */
   protected $_query;
 
@@ -395,7 +395,7 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * @return \CRM_Contact_BAO_Query
+   * @return CRM_Contact_BAO_Query
    */
   public function &getQuery() {
     return $this->_query;
index 3f8c035ec47e023dcc51e4bfdf25e318c2d9321c..2c3cdd4856a79d2371413ab05d7483952545ef87 100644 (file)
@@ -103,7 +103,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   /**
    * The query object.
    *
-   * @var string
+   * @var CRM_Contact_BAO_Query
    */
   protected $_query;
 
@@ -348,7 +348,7 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM
   }
 
   /**
-   * @return string
+   * @return CRM_Contact_BAO_Query
    */
   public function &getQuery() {
     return $this->_query;
index 0f0864e2086641f8b474128791972bbe69a6b6b5..e588e0167c70f811749e904532eedcbe67b1ceda 100644 (file)
@@ -106,7 +106,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   /**
    * The query object
    *
-   * @var string
+   * @var CRM_Contact_BAO_Query
    */
   protected $_query;
 
@@ -451,7 +451,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base {
   }
 
   /**
-   * @return string
+   * @return CRM_Contact_BAO_Query
    */
   public function &getQuery() {
     return $this->_query;
index 764a597891722d7270f55eba7d0120e499c5a4fb..607ec5ac9101f38136f3159949f2ba4ef1273aed 100644 (file)
@@ -118,7 +118,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   /**
    * The query object
    *
-   * @var string
+   * @var CRM_Contact_BAO_Query
    */
   protected $_query;
 
@@ -140,7 +140,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
    * @param string $context
    * @param null $compContext
    *
-   * @return \CRM_Contribute_Selector_Search
+   * @return CRM_Contribute_Selector_Search
    */
   public function __construct(
     &$queryParams,
@@ -622,7 +622,7 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C
   }
 
   /**
-   * @return \CRM_Contact_BAO_Query
+   * @return CRM_Contact_BAO_Query
    */
   public function &getQuery() {
     return $this->_query;
index 454ab8aaecd5f9edb33bc8e624ebf3ae8bc5ae4b..565d6ce8bfefc6ca73b0a0d3e9e65b49eea5ea11 100644 (file)
@@ -104,7 +104,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co
   /**
    * The query object.
    *
-   * @var string
+   * @var CRM_Contact_BAO_Query
    */
   protected $_query;
 
index b37a2cc323999cdc92895b9863342c5a2009e844..8f54d1e888bff1be6bee4edc430fe075964ed15e 100644 (file)
@@ -107,7 +107,7 @@ class CRM_Mailing_Selector_Search extends CRM_Core_Selector_Base implements CRM_
   /**
    * The query object.
    *
-   * @var string
+   * @var CRM_Contact_BAO_Query
    */
   protected $_query;