phpcs - Fix error, "CONST keyword must be lowercase; expected const but found CONST"
[civicrm-core.git] / CRM / Core / Key.php
index 351743480eff0298ae1e0f833893dd1e9c2826d3..aab92222c96a25997e603baa9b5b222f7cd197b7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -75,15 +75,12 @@ class CRM_Core_Key {
    * Generate a form key based on form name, the current user session
    * and a private key. Modelled after drupal's form API
    *
-   * @param $name
-   * @param bool $addSequence
-   *
-   * @internal param string $value name of the form
-   * @paeam boolean $addSequence should we add a unique sequence number to the end of the key
+   * @param string $name
+   * @param bool $addSequence should we add a unique sequence number to the end of the key
    *
    * @return string       valid formID
    * @static
-   * @acess public
+   * @access public
    */
   static function get($name, $addSequence = FALSE) {
     $privateKey = self::privateKey();
@@ -101,15 +98,13 @@ class CRM_Core_Key {
   /**
    * Validate a form key based on the form name
    *
-   * @param $key
+   * @param string $key
    * @param string $name
-   *
    * @param bool $addSequence
    *
-   * @internal param string $formKey
    * @return string $formKey if valid, else null
    * @static
-   * @acess public
+   * @access public
    */
   static function validate($key, $name, $addSequence = FALSE) {
     if (!is_string($key)) {