Cleanup phpdoc comments
[civicrm-core.git] / CRM / Utils / Signer.php
index b9a9538fb49185a7072be4e6a5d7f9376a6e44dd..05987a6b0b4cce254642203932541edaaa3b6803 100644 (file)
@@ -107,6 +107,8 @@ class CRM_Utils_Signer {
    *
    * @param $token string, the full public token representing the signature
    * @param $params array, key-value pairs
+   *
+   * @throws Exception
    * @return bool, TRUE iff all $paramNames for the submitted validate($params) and the original sign($params)
    */
   function validate($token, $params) {
@@ -118,6 +120,9 @@ class CRM_Utils_Signer {
     return ($token == $newToken);
   }
 
+  /**
+   * @return string
+   */
   function createSalt() {
     // It would be more secure to generate a new value but liable to run this
     // many times on certain admin pages; so instead we'll re-use the hash.