Civi\Angular - Docblock improvements.
[civicrm-core.git] / CRM / Utils / ReCAPTCHA.php
index a8d470872b106d04fc5a66dfea29cccd4a1fc632..2d48759f59c23d8cc3f0185ed9106b576f4c65a7 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -47,18 +47,14 @@ class CRM_Utils_ReCAPTCHA {
    * pattern and cache the instance in this variable
    *
    * @var object
-   * @static
    */
   static private $_singleton = NULL;
 
   /**
    * Singleton function used to manage this object
    *
-   * @param string the key to permit session scope's
    *
    * @return object
-   * @static
-   *
    */
   public static function &singleton() {
     if (self::$_singleton === NULL) {
@@ -68,17 +64,15 @@ class CRM_Utils_ReCAPTCHA {
   }
 
   /**
-   *
    */
   public function __construct() {
   }
 
   /**
    * Add element to form
-   *
    */
   public static function add(&$form) {
-    $error  = NULL;
+    $error = NULL;
     $config = CRM_Core_Config::singleton();
     $useSSL = FALSE;
     if (!function_exists('recaptcha_get_html')) {
@@ -131,4 +125,5 @@ class CRM_Utils_ReCAPTCHA {
     );
     return $resp->is_valid;
   }
+
 }