You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \TypeError(sprintf('Decryption key should be a string or an object that implements the __toString() method, %s given.', \gettype($decryptionKey)));
37
+
$this->secretsDir = $secretsDir;
38
+
$this->decryptionKey = $decryptionKey;
39
+
}
40
+
41
+
privatefunctioninit(): void
42
+
{
43
10000
+
if ($this->initialized) {
44
+
return;
37
45
}
38
46
39
-
if (!is_dir($secretsDir) && !@mkdir($secretsDir, 0777, true) && !is_dir($secretsDir)) {
40
-
thrownew \RuntimeException(sprintf('Unable to create the secrets directory (%s)', $secretsDir));
thrownew \TypeError(sprintf('Decryption key should be a string or an object that implements the __toString() method, %s given.', \gettype($this->decryptionKey)));
0 commit comments