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

Commit

Permalink
Removed type hint to enable redirect target to be a content document
Browse files Browse the repository at this point in the history
  • Loading branch information
dantleech committed Sep 15, 2015
1 parent 97244cb commit 517784a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
dev-master
----------

* **2015-09-15**: Removed type hint from `AutoRouteInterface::setRedirectTarget` to allow
redirect target to be a content document.
* **2015-09-05**: "Leave Redirect" defunct route handler now migrates any children
of the original route.
* **2015-08-23**: `AdapterInterface::translateObject()` now has to return the
Expand Down
4 changes: 2 additions & 2 deletions Model/AutoRouteInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ public function getAutoRouteTag();
public function setType($mode);

/**
* For use in the REDIRECT mode, specifies the AutoRoute
* For use in the REDIRECT mode, specifies the routable object
* that the AutoRoute should redirect to.
*
* @param AutoRouteInterface AutoRoute to redirect to.
*/
public function setRedirectTarget(AutoRouteInterface $autoTarget);
public function setRedirectTarget($autoTarget);

/**
* Return the redirect target (when the auto route is of type
Expand Down

0 comments on commit 517784a

Please sign in to comment.