eee
This commit is contained in:
+1
-2
@@ -98,8 +98,7 @@ class Handler implements RequestHandlerInterface
|
|||||||
public function handle(ServerRequestInterface $request): ResponseInterface
|
public function handle(ServerRequestInterface $request): ResponseInterface
|
||||||
{
|
{
|
||||||
$data = call_user_func($this->handler, ...$this->parameter);
|
$data = call_user_func($this->handler, ...$this->parameter);
|
||||||
|
return $this->format->call($data);
|
||||||
return call_user_func([$this->format, 'call'], $data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user