original_string: private function setBodyRequest(RequestInterface $request, array &$requestSettings): RequestInterface
      {
          $multipartBody = [];
          foreach ($requestSettings as $key => &$value) {
              $multipartBody[] = [
                  'name' => $key,
                  'contents' => $value
              ];
          }
  
          return $request->withBody($this->transport->createStream($multipartBody));
      }
code: private function setBodyRequest(RequestInterface $request, array &$requestSettings): RequestInterface
      {
          $multipartBody = [];
          foreach ($requestSettings as $key => &$value) {
              $multipartBody[] = [
                  'name' => $key,
                  'contents' => $value
              ];
          }
  
          return $request->withBody($this->transport->createStream($multipartBody));
      }
code_tokens: private function setBodyRequest ( RequestInterface $ request , array & $ requestSettings ) : RequestInterface { $ multipartBody = [ ] ; foreach ( $ requestSettings as $ key => & $ value ) { $ multipartBody [ ] = [ 'name' => $ key , 'contents' => $ value ] ; } return $ request -> withBody ( $ this -> transport -> createStream ( $ multipartBody ) ) ; }
docstring: To register method's argument in the request for the Sellsy API.
  
  @param RequestInterface $request
  @param array            $requestSettings
  
  @return RequestInterface
docstring_tokens: To register method s argument in the request for the Sellsy API .