Skip to content

Commit

Permalink
修复测试
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Apr 27, 2024
1 parent 486eb74 commit be31bcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Components/grpc/src/Middleware/ActionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ private function prepareActionParams(Request $request, RouteResult $routeResult)
$headers[$name] = implode(', ', $values);
}
}
else
{
$allData = [];
}

/** @var ActionMethodItem[] $actionMethodCache */
foreach ($actionMethodCache as $actionMethodCacheItem)
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Http/Middleware/ActionMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private function prepareActionParams(Request $request, RouteResult $routeResult)
}
else
{
$extractData = [];
$allData = [];
}

/** @var ActionMethodItem[] $actionMethodCache */
Expand Down

0 comments on commit be31bcb

Please sign in to comment.