Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit d1e2024

Browse files
committed
Updated AutoRoute to fit interface
1 parent 8fe022c commit d1e2024

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Model/AutoRoute.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,25 @@ public function getAutoRouteTag()
4545
return $this->getDefault(self::DEFAULT_KEY_AUTO_ROUTE_TAG);
4646
}
4747

48+
/**
49+
* {@inheritDoc}
50+
*/
4851
public function setType($type)
4952
{
5053
$this->setDefault('type', $type);
5154
}
5255

53-
public function setRedirectTarget(AutoRouteInterface $redirectRoute)
56+
/**
57+
* {@inheritDoc}
58+
*/
59+
public function setRedirectTarget($redirectRoute)
5460
{
5561
$this->redirectRoute = $redirectRoute;
5662
}
5763

64+
/**
65+
* {@inheritDoc}
66+
*/
5867
public function getRedirectTarget()
5968
{
6069
return $this->redirectRoute;

0 commit comments

Comments
 (0)