minor tidy ups
[civicrm-core.git] / CRM / Utils / Rule.php
index 0a409adea1ec8e352cae0afeae52af8ced29d1ff..65944518963515ecf2bedba812b9e32229f9b938 100644 (file)
@@ -227,7 +227,6 @@ class CRM_Utils_Rule {
    *
    * @return bool
    *   true if valid date
-   * @static
    */
   public static function currentDate($date, $monthRequired = TRUE) {
     $config = CRM_Core_Config::singleton();
@@ -319,7 +318,6 @@ class CRM_Utils_Rule {
    *
    * @return bool
    *   true if valid date
-   * @static
    */
   public static function mysqlDate($date) {
     // allow date to be null
@@ -427,11 +425,11 @@ class CRM_Utils_Rule {
 
     //CRM-14868
     $currencySymbols = CRM_Core_PseudoConstant::get(
-                          'CRM_Contribute_DAO_Contribution',
-                          'currency', array(
-                                           'keyColumn' => 'name',
-                                           'labelColumn' => 'symbol',
-                                            ));
+      'CRM_Contribute_DAO_Contribution',
+      'currency', array(
+        'keyColumn' => 'name',
+        'labelColumn' => 'symbol',
+      ));
     $value = str_replace($currencySymbols, '', $value);
 
     if ($config->monetaryThousandSeparator) {
@@ -538,10 +536,10 @@ class CRM_Utils_Rule {
     return TRUE;
   }
 
-  // allow between 4-6 digits as postal code since india needs 6 and US needs 5 (or
-  // if u disregard the first 0, 4 (thanx excel!)
-  // FIXME: we need to figure out how to localize such rules
   /**
+   * allow between 4-6 digits as postal code since india needs 6 and US needs 5 (or
+   * if u disregard the first 0, 4 (thanx excel!)
+   * FIXME: we need to figure out how to localize such rules
    * @param $value
    *
    * @return bool
@@ -628,7 +626,6 @@ class CRM_Utils_Rule {
    *
    * @return boolean
    *   true if object exists
-   * @static
    */
   public static function objectExists($value, $options) {
     $name = 'name';
@@ -756,7 +753,6 @@ class CRM_Utils_Rule {
    *
    * @return bool
    *   true if valid date
-   * @static
    */
   public static function qfDate($date) {
     $config = CRM_Core_Config::singleton();