Skip to content

Commit d98a59a

Browse files
committed
Small phpdoc improvements on Query\Builder
Some methods were missing the appropriate phpdoc and one was wrongly declarig `inheritdoc` when it doesn't override a base method
1 parent a699f26 commit d98a59a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/Query/Builder.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,10 @@ public function aggregate($function = null, $columns = ['*'])
645645
}
646646

647647
/**
648-
* {@inheritDoc}
648+
* @param string $function
649+
* @param array $columns
649650
*
650-
* @see \Illuminate\Database\Query\Builder::aggregateByGroup()
651+
* @return mixed
651652
*/
652653
public function aggregateByGroup(string $function, array $columns = ['*'])
653654
{
@@ -869,6 +870,11 @@ public function increment($column, $amount = 1, array $extra = [], array $option
869870
return $this->performUpdate($query, $options);
870871
}
871872

873+
/**
874+
* @param array $options
875+
*
876+
* @inheritdoc
877+
*/
872878
#[Override]
873879
public function incrementEach(array $columns, array $extra = [], array $options = [])
874880
{
@@ -1140,6 +1146,7 @@ public function newQuery()
11401146
return new static($this->connection, $this->grammar, $this->processor);
11411147
}
11421148

1149+
/** @inheritdoc */
11431150
#[Override]
11441151
public function runPaginationCountQuery($columns = ['*'])
11451152
{

0 commit comments

Comments
 (0)