diff --git a/phalcon/mvc/router/route.zep b/phalcon/mvc/router/route.zep index cee1bddbbe4..50c7c138f33 100644 --- a/phalcon/mvc/router/route.zep +++ b/phalcon/mvc/router/route.zep @@ -141,7 +141,7 @@ class Route implements RouteInterface * $route->via(array('GET', 'POST')); * */ - public function via(var httpMethods) -> + public function via(var httpMethods) -> { let this->_methods = httpMethods; return this; @@ -419,7 +419,7 @@ class Route implements RouteInterface * ))->setName('about'); * */ - public function setName(string name) -> + public function setName(string name) -> { let this->_name = name; return this; @@ -430,7 +430,7 @@ class Route implements RouteInterface * The developer can implement any arbitrary conditions here * If the callback returns false the route is treated as not matched */ - public function beforeMatch(callable callback) -> + public function beforeMatch(callable callback) -> { let this->_beforeMatch = callback; return this; @@ -498,7 +498,7 @@ class Route implements RouteInterface * $route->setHttpMethods(array('GET', 'POST')); * */ - public function setHttpMethods(var httpMethods) -> + public function setHttpMethods(var httpMethods) -> { let this->_methods = httpMethods; return this; @@ -519,7 +519,7 @@ class Route implements RouteInterface * $route->setHostname('localhost'); * */ - public function setHostname(string! hostname) -> + public function setHostname(string! hostname) -> { let this->_hostname = hostname; return this; @@ -536,7 +536,7 @@ class Route implements RouteInterface /** * Sets the group associated with the route */ - public function setGroup( group) -> + public function setGroup( group) -> { let this->_group = group; return this; @@ -553,7 +553,7 @@ class Route implements RouteInterface /** * Adds a converter to perform an additional transformation for certain parameter */ - public function convert(string! name, var converter) -> + public function convert(string! name, var converter) -> { let this->_converters[name] = converter; return this;