We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcde590 commit d3817f7Copy full SHA for d3817f7
1 file changed
src/HttpServer.php
@@ -111,7 +111,13 @@ public function setConfig()
111
$this->httpSocketName = $this->config['http_server']['socket'];
112
$this->httpPort = $this->config['http_server']['port'];
113
$this->input = $this->config->get('http.input', Input::class);
114
+ if (is_array($this->input)) {
115
+ $this->input = $this->input['class'] ?? Input::class;
116
+ }
117
$this->output = $this->config->get('http.output', Output::class);
118
+ if (is_array($this->output)) {
119
+ $this->output = $this->output['class'] ?? Output::class;
120
121
return $this;
122
}
123
0 commit comments