Skip to content

Commit

Permalink
Update JsonStrategy.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ncou authored Jul 28, 2019
1 parent bbacbcf commit f86f023
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Chiron/Routing/Strategy/JsonStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function invokeRouteHandler($handler, array $params, ServerRequestInterfa
foreach ($params as $param => $value) {
$request = $request->withAttribute($param, $value);
}
$params[ServerRequestInterface::class] = $request;

$result = $this->kernel->call($handler, $params);

Expand Down

0 comments on commit f86f023

Please sign in to comment.