Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait CompilesUpsertQueries |
||
8 | { |
||
9 | /** |
||
10 | * Compile an "upsert" statement into SQL. |
||
11 | * |
||
12 | * @param \Illuminate\Database\Query\Builder $query |
||
13 | * @param array $values |
||
14 | * @param array $target |
||
15 | * @param array $update |
||
16 | * @return string |
||
17 | */ |
||
18 | 16 | public function compileUpsert(Builder $query, array $values, array $target, array $update) |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * Compile an "insert ignore" statement into SQL. |
||
35 | * |
||
36 | * @param \Illuminate\Database\Query\Builder $query |
||
37 | * @param array $values |
||
38 | * @param array $target |
||
39 | * @return string |
||
40 | */ |
||
41 | 8 | public function compileInsertIgnore(Builder $query, array $values, array $target) |
|
46 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.