diff --git a/src/Widgets/Metric.php b/src/Widgets/Metric.php index ac52666d..078dbe81 100644 --- a/src/Widgets/Metric.php +++ b/src/Widgets/Metric.php @@ -74,7 +74,7 @@ public function resolveQuery(Request $request): Builder */ public function getCurrentRange(Request $request): string { - $default = $this->getDetaultRange(); + $default = $this->getDefaultRange(); $range = $request->input('range', $default); @@ -84,7 +84,7 @@ public function getCurrentRange(Request $request): string /** * Get the default range. */ - public function getDetaultRange(): string + public function getDefaultRange(): string { return 'MONTH'; }