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 80dae86 commit f1b844bCopy full SHA for f1b844b
src/Eloquent/Builder.php
@@ -54,6 +54,11 @@ class Builder extends EloquentBuilder
54
'tomql',
55
];
56
57
+ /**
58
+ * @return ($function === null ? PipelineBuilder : self)
59
+ *
60
+ * @inheritdoc
61
+ */
62
public function aggregate($function = null, $columns = ['*'])
63
{
64
$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
use HybridRelations;
0 commit comments