Merge pull request #14854 from eileenmcnaughton/validate
[civicrm-core.git] / CRM / Utils / QueryFormatter.php
index 863226ea15adb19898221dbacd1c6f7f05593ff5..d24ac1635c6795b52ff2926a65736bcb91065548 100644 (file)
@@ -88,6 +88,11 @@ class CRM_Utils_QueryFormatter {
    */
   const MODE_WILDWORDS_SUFFIX = 'wildwords-suffix';
 
+  /**
+   * Singleton object.
+   *
+   * @var \CRM_Utils_QueryFormatter|null
+   */
   static protected $singleton;
 
   /**
@@ -407,8 +412,8 @@ class CRM_Utils_QueryFormatter {
   }
 
   /**
-   * @param $text
-   * @bool $quotes
+   * @param string $text
+   * @param bool $quotes
    * @return array
    */
   protected function parseWords($text, $quotes) {