@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * |
| 215 | 215 | * @param \Illuminate\Database\Eloquent\Model $model |
| 216 | 216 | * |
| 217 | - * @return Builder |
|
| 217 | + * @return \Illuminate\Support\Collection |
|
| 218 | 218 | */ |
| 219 | 219 | public function getBuilder($model) |
| 220 | 220 | { |
@@ -278,6 +278,7 @@ discard block |
||
| 278 | 278 | * The constraints usually remove only a small amount of results, which is why the non |
| 279 | 279 | * matching results are looked up and removed, instead of returning a collection with |
| 280 | 280 | * all the valid results. |
| 281 | + * @param Builder $builder |
|
| 281 | 282 | */ |
| 282 | 283 | private function discardIdsFromResultSetByConstraints($builder, $searchResults) |
| 283 | 284 | { |
@@ -227,7 +227,7 @@ |
||
| 227 | 227 | |
| 228 | 228 | $builder = $this->applyOrders($builder); |
| 229 | 229 | |
| 230 | - return $builder; |
|
| 230 | + return $builder; |
|
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | /** |