We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df058ab + f328205 commit c0421b4Copy full SHA for c0421b4
1 file changed
src/Services/MeasurementErrorService.php
@@ -16,7 +16,7 @@ class MeasurementErrorService
16
17
public function filter(array $data): array
18
{
19
- $count = $this->count($data);
+ $count = count($data);
20
21
if ($this->disabled($count)) {
22
return $data;
@@ -45,11 +45,6 @@ protected function take(int $count): int
45
return $count - (2 * $this->offset($count));
46
}
47
48
- protected function count(array $values): int
49
- {
50
- return count($values);
51
- }
52
-
53
protected function disabled(int $count): bool
54
55
return $count < $this->minCount;
0 commit comments