minor tidy ups
[civicrm-core.git] / CRM / Utils / Rule.php
index 0a737d1309290b9ca4783d1c086e5fa2e598f201..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
@@ -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();