From c01b89f7d649e04a380459cc8bff8b76b34f60bc Mon Sep 17 00:00:00 2001 From: Richard van Laak Date: Tue, 29 Mar 2016 11:18:26 +0200 Subject: [PATCH] Fix `UrlGeneratorInterface` deprecation --- BreadcrumbTrail/Trail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BreadcrumbTrail/Trail.php b/BreadcrumbTrail/Trail.php index 9f8b9bd..1e13096 100644 --- a/BreadcrumbTrail/Trail.php +++ b/BreadcrumbTrail/Trail.php @@ -73,7 +73,7 @@ public function getTemplate() * @throws \InvalidArgumentException * @return self */ - public function add($breadcrumb_or_title, $routeName = null, $routeParameters = array(), $routeAbsolute = false, $position = 0, $attributes = array()) + public function add($breadcrumb_or_title, $routeName = null, $routeParameters = array(), $routeAbsolute = UrlGeneratorInterface::ABSOLUTE_PATH, $position = 0, $attributes = array()) { if ($breadcrumb_or_title === null) { return $this->reset();