Browse Source

add missed namespace

main
ghost 9 months ago
parent
commit
8c0115e78d
  1. 5
      src/controller/room.php

5
src/controller/room.php

@ -950,7 +950,7 @@ class Room
private function _records(string $namespace): array private function _records(string $namespace): array
{ {
// Check for cache // Check for cache
if ($result = $this->_memory->get([__METHOD__])) if ($result = $this->_memory->get([__METHOD__, $namespace]))
{ {
return $result; return $result;
} }
@ -963,7 +963,8 @@ class Room
// Save to cache // Save to cache
$this->_memory->set( $this->_memory->set(
[ [
__METHOD__ __METHOD__,
$namespace
], ],
$result $result
); );

Loading…
Cancel
Save