改名
This commit is contained in:
+2
-2
@@ -28,10 +28,10 @@ class HasCount extends HasBase
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array|null|ActiveRecord
|
||||
* @return array|null|ModelInterface
|
||||
* @throws Exception
|
||||
*/
|
||||
public function get(): array|ActiveRecord|null
|
||||
public function get(): array|ModelInterface|null
|
||||
{
|
||||
return $this->_relation->count($this->model::className(), $this->value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user