From 6304684683b93f5d2c5eb60ed1e406ac99e5bfde Mon Sep 17 00:00:00 2001 From: xl Date: Wed, 6 Nov 2024 21:41:43 +0800 Subject: [PATCH] eee --- Relation.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Relation.php b/Relation.php index 86f4c31..c73ac4f 100644 --- a/Relation.php +++ b/Relation.php @@ -57,7 +57,7 @@ class Relation extends Component public function first(string $_identification): mixed { if (!Context::exists($_identification)) { - Context::set($_identification, $this->_query[$_identification]->first(), Coroutine::getuid()); + Context::set($_identification, $this->_query[$_identification]->first()); } return Context::get($_identification); } @@ -70,7 +70,7 @@ class Relation extends Component public function count(string $_identification): mixed { if (!Context::exists($_identification)) { - Context::set($_identification, $this->_query[$_identification]->count(), Coroutine::getuid()); + Context::set($_identification, $this->_query[$_identification]->count()); } return Context::get($_identification); } @@ -84,7 +84,7 @@ class Relation extends Component public function get(string $_identification): mixed { if (Context::exists($_identification)) { - Context::set($_identification, $this->_query[$_identification]->get(), Coroutine::getuid()); + Context::set($_identification, $this->_query[$_identification]->get()); } return Context::get($_identification); }