Skip to content

Commit

Permalink
修改Yaf_Route_Interface接口参数
Browse files Browse the repository at this point in the history
  • Loading branch information
leo108 committed Sep 27, 2014
1 parent 2330503 commit f3a1d3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Yaf.underline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ interface Yaf_Route_Interface
*
* @return Boolean
*/
public function route(Yaf_Request_Abstract $request);

This comment has been minimized.

Copy link
@xudianyang

xudianyang Sep 28, 2014

这个为什么要去掉Yaf_Request_Abstract?

public function route($request);

/**
* (Yaf >= 2.3.2)
Expand All @@ -2021,7 +2021,7 @@ public function route(Yaf_Request_Abstract $request);
* @param array $query
* @return String
*/
public function assemble ($info, $query);
public function assemble (array $info, array $query = null);
}

/**
Expand Down

0 comments on commit f3a1d3d

Please sign in to comment.