src/Provide/Router/HttpMethodParams.php
private function getParams($method, array $server, array $post) : array
    {
        // post data exists
        if ($method === 'post' && ! empty($post)) {
            return $post;
        }

        if (\in_array($method, ['post', 'put', 'patch', 'delete'], true)) {
            return $this->phpInput($server);
        }

        return $post;
    }
private function getParams($method, array $server, array $post) : array
    {
        // post data exists
        if ($method === 'post' && ! empty($post)) {
            return $post;
        }

        if (\in_array($method, ['post', 'put', 'patch', 'delete'], true)) {
            return $this->phpInput($server);
        }

        return $post;
    }
private function getParams ( $ method , array $ server , array $ post ) : array { // post data exists if ( $ method === 'post' && ! empty ( $ post ) ) { return $ post ; } if ( \ in_array ( $ method , [ 'post' , 'put' , 'patch' , 'delete' ] , true ) ) { return $ this -> phpInput ( $ server ) ; } return $ post ; }
Return request parameters
Return request parameters