Skip to content

Commit

Permalink
Fixed type of DB.encryptionKey (resolves #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
marpies committed Jul 19, 2018
1 parent 113ecd1 commit dd51721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/breezedb/DB.as
Original file line number Diff line number Diff line change
Expand Up @@ -541,17 +541,17 @@ package breezedb
/**
* @private
*/
public static function set encryptionKey(value:String):void
public static function set encryptionKey(value:*):void
{
BreezeDb.db.encryptionKey = value;
}


/**
* The value used to encrypt the database file. It be either a <code>String</code>
* The value used to encrypt the database file. It can be either a <code>String</code>
* (at least one character) or 16 bytes long <code>ByteArray</code>.
*/
public static function get encryptionKey():String
public static function get encryptionKey():*
{
return BreezeDb.db.encryptionKey;
}
Expand Down

0 comments on commit dd51721

Please sign in to comment.