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 01cfc1a commit ab7ca55Copy full SHA for ab7ca55
src/Eloquent/Builder.php
@@ -56,6 +56,11 @@ class Builder extends EloquentBuilder
56
'tomql',
57
];
58
59
+ /**
60
+ * @return ($function === null ? PipelineBuilder : self)
61
+ *
62
+ * @inheritdoc
63
+ */
64
public function aggregate($function = null, $columns = ['*'])
65
{
66
$result = $this->toBase()->aggregate($function, $columns);
src/Eloquent/Model.php
@@ -49,6 +49,7 @@
49
use function uniqid;
50
use function var_export;
51
52
+/** @mixin Builder */
53
abstract class Model extends BaseModel
54
55
use HybridRelations;
0 commit comments