Permalink
Browse files

Merge pull request #1074 from AmyStephen/crypt

Crypt Package: Add Exception to Docblock
  • Loading branch information...
2 parents 4c3a707 + 8e6ca39 commit 4f132a92dc4dc3a33460415430acd4e771fac9e9 @realityking realityking committed Mar 31, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 libraries/joomla/crypt/cipher/simple.php
@@ -27,6 +27,7 @@ class JCryptCipherSimple implements JCryptCipher
* @return string The decrypted data string.
*
* @since 12.1
+ * @throws InvalidArgumentException
*/
public function decrypt($data, JCryptKey $key)
{
@@ -68,6 +69,7 @@ public function decrypt($data, JCryptKey $key)
* @return string The encrypted data string.
*
* @since 12.1
+ * @throws InvalidArgumentException
*/
public function encrypt($data, JCryptKey $key)
{

0 comments on commit 4f132a9

Please sign in to comment.