diff --git a/packages/framework/src/Framework/Features/Navigation/NavigationItem.php b/packages/framework/src/Framework/Features/Navigation/NavigationItem.php index ea8febd647a..ff72167d305 100644 --- a/packages/framework/src/Framework/Features/Navigation/NavigationItem.php +++ b/packages/framework/src/Framework/Features/Navigation/NavigationItem.php @@ -92,16 +92,6 @@ public function getPage(): ?HydePage return $this->destination->getRoute()?->getPage(); } - /** - * Get the destination route of the navigation item. For dropdowns, this will return null. - * - * @deprecated To simplify the class, we may remove this as we probably don't need it. - */ - public function getRoute(): ?Route - { - return $this->destination->getRoute(); - } - /** * Resolve the destination link of the navigation item. *