Skip to content

Commit

Permalink
fix serializing middlewares in ControllerActionRoute (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mararok authored Jul 24, 2019
1 parent 303e9e8 commit 123e200
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@ private function jsonSerializeMiddlewares(): array
foreach ($this->getMiddlewares() as $middleware) {
$json[] = $middleware instanceof \JsonSerializable ? $middleware : get_class($middleware);
}
return $json;
}
}

0 comments on commit 123e200

Please sign in to comment.