File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1010final class Request
1111{
1212 private ServerRequestInterface $ request ;
13- private Channel $ input ;
14- private Channel $ output ;
13+ private string $ input ;
14+ private string $ output ;
1515
1616 public function __construct (ServerRequestInterface $ request , Channel $ input , Channel $ output )
1717 {
1818 $ this ->request = $ request ;
19- $ this ->input = $ input ;
20- $ this ->output = $ output ;
19+ $ this ->input = ( string ) $ input ;
20+ $ this ->output = ( string ) $ output ;
2121 }
2222
2323 public function request (): ServerRequestInterface
@@ -27,11 +27,11 @@ public function request(): ServerRequestInterface
2727
2828 public function input (): Channel
2929 {
30- return $ this ->input ;
30+ return Channel:: open ( $ this ->input ) ;
3131 }
3232
3333 public function output (): Channel
3434 {
35- return $ this ->output ;
35+ return Channel:: open ( $ this ->output ) ;
3636 }
3737}
You can’t perform that action at this time.
0 commit comments