Tested FilesystemJsonStorage
This commit is contained in:
@@ -50,7 +50,7 @@ class FilesystemJsonStorage implements TokenStorageInterface {
|
||||
|
||||
public function put(string $key, array $data): bool {
|
||||
// Ensure that the containing folder exists.
|
||||
mkdir($this->path, 0777, true);
|
||||
@mkdir($this->path, 0777, true);
|
||||
|
||||
return file_put_contents($this->getPath($key), json_encode($data)) !== false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user