We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec880a6 commit 041ff14Copy full SHA for 041ff14
src/Abstracts/RelationalRelationAbstract.php
@@ -43,7 +43,7 @@ protected function getCountWithConditions(array $conditions): int
43
$condition["value"] ?? ''
44
);
45
}
46
- $model_value = $this->model::get();
+ $model_value = $model_value->get();
47
48
return count($model_value);
49
0 commit comments