Skip to content

Commit

Permalink
add eloquent builder to param type of selectSub (#36926)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopolani authored Apr 9, 2021
1 parent 94fd966 commit a408463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public function select($columns = ['*'])
/**
* Add a subselect expression to the query.
*
* @param \Closure|\Illuminate\Database\Query\Builder|string $query
* @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query
* @param string $as
* @return $this
*
Expand Down

0 comments on commit a408463

Please sign in to comment.