Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class MySqlGrammar extends Base |
||
10 | { |
||
11 | use CompilesUpsertQueries; |
||
12 | |||
13 | /** |
||
14 | * Compile an "upsert" statement into SQL. |
||
15 | * |
||
16 | * @param \Illuminate\Database\Query\Builder $query |
||
17 | * @param array $values |
||
18 | * @param array $target |
||
19 | * @param array $update |
||
20 | * @return string |
||
21 | */ |
||
22 | 8 | public function compileUpsert(Builder $query, array $values, array $target, array $update) |
|
33 | } |
||
34 | |||
35 | /** |
||
36 | * Compile an "insert ignore" statement into SQL. |
||
37 | * |
||
38 | * @param \Illuminate\Database\Query\Builder $query |
||
39 | * @param array $values |
||
40 | * @param array $target |
||
41 | * @return string |
||
42 | */ |
||
43 | 4 | public function compileInsertIgnore(Builder $query, array $values, array $target) |
|
50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.