remove HTTPInputData as argument

This commit is contained in:
Art4 2024-12-26 11:41:27 +00:00
parent 17ff47f6d5
commit 894cd5814f

View file

@ -175,7 +175,6 @@ class App
$this->container->create(Page::class), $this->container->create(Page::class),
$this->container->create(Nav::class), $this->container->create(Nav::class),
$this->container->create(ModuleHTTPException::class), $this->container->create(ModuleHTTPException::class),
new HTTPInputData($request->getServerParams()),
$start_time, $start_time,
$request $request
); );
@ -534,9 +533,7 @@ class App
* @param IManagePersonalConfigValues $pconfig * @param IManagePersonalConfigValues $pconfig
* @param Page $page The Friendica page printing container * @param Page $page The Friendica page printing container
* @param ModuleHTTPException $httpException The possible HTTP Exception container * @param ModuleHTTPException $httpException The possible HTTP Exception container
* @param HTTPInputData $httpInput A library for processing PHP input streams
* @param float $start_time The start time of the overall script execution * @param float $start_time The start time of the overall script execution
* @param array $server The $_SERVER array
* *
* @throws HTTPException\InternalServerErrorException * @throws HTTPException\InternalServerErrorException
* @throws \ImagickException * @throws \ImagickException
@ -547,10 +544,10 @@ class App
Page $page, Page $page,
Nav $nav, Nav $nav,
ModuleHTTPException $httpException, ModuleHTTPException $httpException,
HTTPInputData $httpInput,
float $start_time, float $start_time,
ServerRequestInterface $request ServerRequestInterface $request
) { ) {
$httpInput = new HTTPInputData($request->getServerParams());
$serverVars = $request->getServerParams(); $serverVars = $request->getServerParams();
$queryVars = $request->getQueryParams(); $queryVars = $request->getQueryParams();