Skip to content

Commit

Permalink
Fix staticcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
razmser committed Mar 28, 2024
1 parent 27bd26c commit 9a803ff
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/receiver/php_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,12 +182,6 @@ func (m floatsMap) sum() float64 {

type stringsMap map[string][]string

func (m stringsMap) merge(key string, values []string) {
v := append(m[key], values...) //nolint:gocritic // appendAssign: append result not assigned to the same slice
sort.Strings(v)
m[key] = v
}

func (m stringsMap) size() int {
n := 0
for _, v := range m {
Expand Down

0 comments on commit 9a803ff

Please sign in to comment.