eee
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user