type fixes

This commit is contained in:
Yuri Kuznetsov
2022-03-16 14:16:32 +02:00
parent 46f3846d36
commit d92bf08160
7 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -61,8 +61,8 @@ class DataCache
/**
* Get a stored value.
*
* @throws Error if is not cached.
* @return array<mixed,mixed>|stdClass|null
* @return array<mixed,mixed>|stdClass
* @throws Error If is not cached or bad data stored.
*/
public function get(string $key)
{
@@ -74,7 +74,7 @@ class DataCache
/**
* Store in cache.
*
* @param array<mixed,mixed>|stdClass|null $data
* @param array<mixed,mixed>|stdClass $data
*/
public function store(string $key, $data): void
{