Skip to content

Commit 57e8be9

Browse files
committed
refactor: allow null for $key property to handle buffer cleanup in SodiumHandler
1 parent cb55765 commit 57e8be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Encryption/Handlers/SodiumHandler.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class SodiumHandler extends BaseHandler
2626
/**
2727
* Starter key
2828
*
29-
* @var string
29+
* @var string|null Null is used for buffer cleanup.
3030
*/
3131
protected $key = '';
3232

0 commit comments

Comments
 (0)