modify mysql result
This commit is contained in:
+2
-2
@@ -37,10 +37,10 @@ class HasMany extends HasBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return array|null|ModelInterface
|
* @return array|null|Collection
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function get(): array|ModelInterface|null
|
public function get(): array|Collection|null
|
||||||
{
|
{
|
||||||
return $this->_relation->get($this->model::className(), $this->value);
|
return $this->_relation->get($this->model::className(), $this->value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user