This commit is contained in:
2021-08-30 18:17:37 +08:00
parent 4015bf30e6
commit a0e5eb03d2
3 changed files with 41 additions and 33 deletions
+2 -3
View File
@@ -29,11 +29,10 @@ class HandlerProviders extends BaseObject
* @param $method
* @param $path
* @param $handler
* @param $_injectParameters
*/
public static function add($method, $path, $handler, $_injectParameters)
public static function add($method, $path, $handler)
{
static::$handlers[$method][$path] = [$handler, $_injectParameters];
static::$handlers[$method][$path] = $handler;
}
}