Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add convert method to the Phalcon\Mvc\Router\RouteInterface #13380

Closed
sergeyklay opened this issue May 16, 2018 · 1 comment
Closed

Add convert method to the Phalcon\Mvc\Router\RouteInterface #13380

sergeyklay opened this issue May 16, 2018 · 1 comment
Labels
breaks bc Functionality that breaks Backwards Compatibility
Milestone

Comments

@sergeyklay
Copy link
Contributor

sergeyklay commented May 16, 2018

The documentation for Phalcon\Mvc\Router\Group::add states, that add() on a group would return an instance of RouteInterface but it really returns an instance of Route.

After calling add we shouldn't call convert because convert is a Route member but not RouteInterface.

@sergeyklay sergeyklay added this to the 4.0.0 milestone May 16, 2018
@sergeyklay sergeyklay added the breaks bc Functionality that breaks Backwards Compatibility label May 16, 2018
@sergeyklay sergeyklay changed the title Add convert method to the Phalcon\Mvc\RouteInterface Add convert method to the Phalcon\Mvc\Router\RouteInterface May 31, 2018
@sergeyklay
Copy link
Contributor Author

Implemented in the 4.0.x branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks bc Functionality that breaks Backwards Compatibility
Projects
None yet
Development

No branches or pull requests

2 participants