src/Provide/Router/CliRouter.php
private function getStdIn(string $method, array $query, array &$server) : array
    {
        if ($method === 'put' || $method === 'patch' || $method === 'delete') {
            $server[HttpMethodParams::CONTENT_TYPE] = HttpMethodParams::FORM_URL_ENCODE;
            file_put_contents($this->stdIn, http_build_query($query));

            return $server;
        }

        return $server;
    }
private function getStdIn(string $method, array $query, array &$server) : array
    {
        if ($method === 'put' || $method === 'patch' || $method === 'delete') {
            $server[HttpMethodParams::CONTENT_TYPE] = HttpMethodParams::FORM_URL_ENCODE;
            file_put_contents($this->stdIn, http_build_query($query));

            return $server;
        }

        return $server;
    }
private function getStdIn ( string $ method , array $ query , array & $ server ) : array { if ( $ method === 'put' || $ method === 'patch' || $ method === 'delete' ) { $ server [ HttpMethodParams :: CONTENT_TYPE ] = HttpMethodParams :: FORM_URL_ENCODE ; file_put_contents ( $ this -> stdIn , http_build_query ( $ query ) ) ; return $ server ; } return $ server ; }
Return StdIn in PUT, PATCH or DELETE
Return StdIn in PUT PATCH or DELETE