From 0456469c60af9f8aea811d78f4cf71522b741ce9 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 29 Aug 2021 05:57:03 +0800 Subject: [PATCH] 111 --- http-helper/Route/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-helper/Route/Router.php b/http-helper/Route/Router.php index 85c67e9f..e3d38ab4 100644 --- a/http-helper/Route/Router.php +++ b/http-helper/Route/Router.php @@ -587,7 +587,7 @@ class Router extends HttpService implements RouterInterface continue; } foreach ($attribute as $item) { - $item['class']::execute((object)$item['params'], $class, $method); + $item->execute($class, $method); } } }