We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92d9bb1 commit de16703Copy full SHA for de16703
src/CryptKey.php
@@ -90,7 +90,7 @@ private function saveKeyToFile($key)
90
$tmpDir = \sys_get_temp_dir();
91
$keyPath = $tmpDir . '/' . \sha1($key) . '.key';
92
93
- if (\is_readable($keyPath)) {
+ if (\file_exists($keyPath)) {
94
return self::FILE_PREFIX . $keyPath;
95
}
96
0 commit comments