diff --git a/src/Services/MeasurementErrorService.php b/src/Services/MeasurementErrorService.php index 285ff13..530a705 100644 --- a/src/Services/MeasurementErrorService.php +++ b/src/Services/MeasurementErrorService.php @@ -16,7 +16,7 @@ class MeasurementErrorService public function filter(array $data): array { - $count = $this->count($data); + $count = count($data); if ($this->disabled($count)) { return $data; @@ -45,11 +45,6 @@ protected function take(int $count): int return $count - (2 * $this->offset($count)); } - protected function count(array $values): int - { - return count($values); - } - protected function disabled(int $count): bool { return $count < $this->minCount;