mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
Revert "Allow null for params in encrypt/decrypt methods"
This reverts commit da438b5aa7.
This commit is contained in:
parent
da438b5aa7
commit
911edd797f
1 changed files with 2 additions and 2 deletions
|
|
@ -369,7 +369,7 @@ class CI_Encryption {
|
|||
* @param array $params Input parameters
|
||||
* @return string
|
||||
*/
|
||||
public function encrypt($data, ?array $params = NULL)
|
||||
public function encrypt($data, array $params = NULL)
|
||||
{
|
||||
if (($params = $this->_get_params($params)) === FALSE)
|
||||
{
|
||||
|
|
@ -504,7 +504,7 @@ class CI_Encryption {
|
|||
* @param array $params Input parameters
|
||||
* @return string
|
||||
*/
|
||||
public function decrypt($data, ?array $params = NULL)
|
||||
public function decrypt($data, array $params = NULL)
|
||||
{
|
||||
if (($params = $this->_get_params($params)) === FALSE)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue