]> git.mxchange.org Git - friendica.git/commitdiff
remove HTTPInputData as argument
authorArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 11:41:27 +0000 (11:41 +0000)
committerArt4 <art4@wlabs.de>
Thu, 26 Dec 2024 11:41:37 +0000 (11:41 +0000)
src/App.php

index 1e3adae2491de333ff0ae550112eed5b42940a35..f3e081c29bb24120e4e8e877006575bd3369f676 100644 (file)
@@ -175,7 +175,6 @@ class App
                        $this->container->create(Page::class),
                        $this->container->create(Nav::class),
                        $this->container->create(ModuleHTTPException::class),
-                       new HTTPInputData($request->getServerParams()),
                        $start_time,
                        $request
                );
@@ -534,9 +533,7 @@ class App
         * @param IManagePersonalConfigValues $pconfig
         * @param Page                        $page       The Friendica page printing 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 array                       $server     The $_SERVER array
         *
         * @throws HTTPException\InternalServerErrorException
         * @throws \ImagickException
@@ -547,10 +544,10 @@ class App
                Page $page,
                Nav $nav,
                ModuleHTTPException $httpException,
-               HTTPInputData $httpInput,
                float $start_time,
                ServerRequestInterface $request
        ) {
+               $httpInput  = new HTTPInputData($request->getServerParams());
                $serverVars = $request->getServerParams();
                $queryVars  = $request->getQueryParams();