Hello!
I have following code:
// $this->privateKey is resource
$digestText = '';
\Safe\openssl_sign($digestText, $signature, $this->privateKey);
And i get following error: Argument 2 passed to Safe\openssl_sign() must be of the type string, null given
I can get this fixed by adding $signature = '' before calling openssl_sign(). I understand the error, but i expected (and it worked before using Safe package), that $signature variable will get created 😄