original_string: public function modifyRequestCookie($request, $name, $value = null)
      {
          $modify = function (Cookie $cookie) {
              $value = $cookie->getValue();
  
              return $cookie->withValue($value);
          };
  
          $request = FigRequestCookies::modify($request, $name, $modify);
  
          return $request;
      }
code: public function modifyRequestCookie($request, $name, $value = null)
      {
          $modify = function (Cookie $cookie) {
              $value = $cookie->getValue();
  
              return $cookie->withValue($value);
          };
  
          $request = FigRequestCookies::modify($request, $name, $modify);
  
          return $request;
      }
code_tokens: public function modifyRequestCookie ( $ request , $ name , $ value = null ) { $ modify = function ( Cookie $ cookie ) { $ value = $ cookie -> getValue ( ) ; return $ cookie -> withValue ( $ value ) ; } ; $ request = FigRequestCookies :: modify ( $ request , $ name , $ modify ) ; return $ request ; }
docstring: Modify Request Cookie
docstring_tokens: Modify Request Cookie