Merge pull request #4029 from joannechester/Relative-date-filters-undeclared-variable...
[civicrm-core.git] / CRM / Utils / ReCAPTCHA.php
index 1f2c2ad436f82cd64c511a806b69eae69363bd9f..6b07762614cc47d980e82f8018016d85861716ab 100644 (file)
@@ -67,6 +67,9 @@ class CRM_Utils_ReCAPTCHA {
     return self::$_singleton;
   }
 
+  /**
+   *
+   */
   function __construct() {}
 
   /**
@@ -78,7 +81,7 @@ class CRM_Utils_ReCAPTCHA {
     $config = CRM_Core_Config::singleton();
     $useSSL = FALSE;
     if ( !function_exists( 'recaptcha_get_html' ) ) {
-    require_once 'packages/recaptcha/recaptchalib.php';
+      require_once 'packages/recaptcha/recaptchalib.php';
     }
 
     // See if we are using SSL
@@ -111,6 +114,12 @@ class CRM_Utils_ReCAPTCHA {
     );
   }
 
+  /**
+   * @param $value
+   * @param $form
+   *
+   * @return mixed
+   */
   static function validate($value, $form) {
     $config = CRM_Core_Config::singleton();