Skip to content

Commit 1455cc9

Browse files
authored
Optimized the code of Hyperf\Database\Query\Grammars\Grammar::compileUpdate. (#7082)
1 parent 62f1908 commit 1455cc9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Query/Grammars/SQLiteGrammar.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ class SQLiteGrammar extends Grammar
3535

3636
/**
3737
* Compile an update statement into SQL.
38-
*
39-
* @param array $values
4038
*/
41-
public function compileUpdate(Builder $query, $values): string
39+
public function compileUpdate(Builder $query, array $values): string
4240
{
4341
if ($query->joins || $query->limit) {
4442
return $this->compileUpdateWithJoinsOrLimit($query, $values);

0 commit comments

Comments
 (0)