The public API said string, internally we treated it as int. In reality
both are used. Let's reflect that in the documented argument type.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* @param string $passPhrase
* @param string $cipher
* @param int $version
- * @param int $position
+ * @param int|string $position
* @return string
* @throws DecryptionFailedException
*/
* decrypt data
*
* @param string $data you want to decrypt
- * @param int $position
+ * @param int|string $position
* @return string decrypted data
* @throws DecryptionFailedException
*/
* decrypt data
*
* @param string $data you want to decrypt
- * @param string $position position of the block we want to decrypt
+ * @param int|string $position position of the block we want to decrypt
*
* @return mixed decrypted data
*