Skip to content

Commit

Permalink
修正接口类型
Browse files Browse the repository at this point in the history
  • Loading branch information
anoxia committed Jun 9, 2019
1 parent aa9c6cc commit fd9ab33
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/HandlerInterface.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<?php
namespace Bee\Router;

use Bee\Http\Context;

/**
* Interface HandlerInterface
*
Expand All @@ -13,9 +11,9 @@ interface HandlerInterface
/**
* 执行路由项业务
*
* @param Context $context
* @param $context
* @param mixed $parameters
* @return mixed
*/
public function callMethod(Context $context, $parameters = null);
public function callMethod($application, $parameters = null);
}

0 comments on commit fd9ab33

Please sign in to comment.