Merge pull request #8012 from agh1/multi-paypal-ipn-47
[civicrm-core.git] / CRM / Utils / ReCAPTCHA.php
index d2cbb510196532a9354677d8d4b798eb47ed505f..bf4177f0fd2e510d717f97ca89a821f45bbaf497 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,9 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2016
  */
 class CRM_Utils_ReCAPTCHA {
 
@@ -43,17 +41,18 @@ class CRM_Utils_ReCAPTCHA {
   protected $_phrase = NULL;
 
   /**
+   * Singleton.
+   *
    * We only need one instance of this object. So we use the singleton
    * pattern and cache the instance in this variable
    *
-   * @var object
+   * @var CRM_Utils_ReCAPTCHA
    */
   static private $_singleton = NULL;
 
   /**
    * Singleton function used to manage this object.
    *
-   *
    * @return object
    */
   public static function &singleton() {
@@ -63,13 +62,10 @@ class CRM_Utils_ReCAPTCHA {
     return self::$_singleton;
   }
 
-  /**
-   */
-  public function __construct() {
-  }
-
   /**
    * Add element to form.
+   *
+   * @param CRM_Core_Form $form
    */
   public static function add(&$form) {
     $error = NULL;