original_string: protected function assertRequestTarget($requestTarget)
      {
          if (!is_string($requestTarget)) {
              $type = (is_object($requestTarget) ? get_class($requestTarget) . ' ' : '') . gettype($requestTarget);
              throw new \InvalidArgumentException("Request target should be a string, not a $type");
          }
      }
code: protected function assertRequestTarget($requestTarget)
      {
          if (!is_string($requestTarget)) {
              $type = (is_object($requestTarget) ? get_class($requestTarget) . ' ' : '') . gettype($requestTarget);
              throw new \InvalidArgumentException("Request target should be a string, not a $type");
          }
      }
code_tokens: protected function assertRequestTarget ( $ requestTarget ) { if ( ! is_string ( $ requestTarget ) ) { $ type = ( is_object ( $ requestTarget ) ? get_class ( $ requestTarget ) . ' ' : '' ) . gettype ( $ requestTarget ) ; throw new \ InvalidArgumentException ( "Request target should be a string, not a $type" ) ; } }
docstring: Assert that the request target is a string
  
  @param string $requestTarget
  @throws \InvalidArgumentException
docstring_tokens: Assert that the request target is a string