We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current implementation of Phalcon\Crypt::getKey implies that method must return string:
Phalcon\Crypt::getKey
cphalcon/phalcon/Crypt.zep
Lines 427 to 430 in 3049c86
however, Phalcon\Crypt::$key is NULL by default:
Phalcon\Crypt::$key
Lines 57 to 60 in 3049c86
This leads to a fatal error:
$crypt = new \Phalcon\Crypt(); $crypt->getKey();
PHP Fatal error: Return value of Phalcon\Crypt::getKey() must be of the type string, null returned
The text was updated successfully, but these errors were encountered:
Fixed default value of Crypt::$key
6760ce5
See: #14989
Fixed in 4.0.x branch
Sorry, something went wrong.
48a7d0a
sergeyklay
Successfully merging a pull request may close this issue.
The current implementation of
Phalcon\Crypt::getKey
implies that method must return string:cphalcon/phalcon/Crypt.zep
Lines 427 to 430 in 3049c86
however,
Phalcon\Crypt::$key
is NULL by default:cphalcon/phalcon/Crypt.zep
Lines 57 to 60 in 3049c86
This leads to a fatal error:
The text was updated successfully, but these errors were encountered: