Skip to content

Commit 009f7ec

Browse files
[10.x] add expression to DB table doctype (#47004)
* [10.x] add expression to DB table doctype When using DB::raw(), the parameter type is `Illuminate\Contracts\Database\Query\Expression` * Update Connection.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent e450989 commit 009f7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public function getSchemaBuilder()
317317
/**
318318
* Begin a fluent query against a database table.
319319
*
320-
* @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Query\Expression|string $table
320+
* @param \Closure|\Illuminate\Database\Query\Builder|Illuminate\Contracts\Database\Query\Expression|string $table
321321
* @param string|null $as
322322
* @return \Illuminate\Database\Query\Builder
323323
*/

0 commit comments

Comments
 (0)