File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1212### Changed
1313
1414- Drop support for PHP < 8.1
15+ - Rename Stack constructor parameter ` $defaultResponse ` to ` $response `
1516
1617## [ 2.0.1] - 2021-03-14
1718
Original file line number Diff line number Diff line change @@ -16,11 +16,8 @@ class Stack implements RequestHandlerInterface
1616 */
1717 protected array $ middlewares = [];
1818
19- protected ResponseInterface $ defaultResponse ;
20-
21- public function __construct (ResponseInterface $ response , MiddlewareInterface ...$ middlewares )
19+ public function __construct (protected $ defaultResponse , MiddlewareInterface ...$ middlewares )
2220 {
23- $ this ->defaultResponse = $ response ;
2421 $ this ->middlewares = $ middlewares ;
2522 }
2623
You can’t perform that action at this time.
0 commit comments