title: Argument 3 passed to GuzzleHttp\Client::request() must be of the type array, string given
body: <p>I'm experimenting with SammyK/LaravelFacebookSdk.
  Trying to run this line from example:
  <code>$response = Facebook::get('/me?fields=id,name,email', 'user-access-token');</code></p>
  
  <p>which in turn runs <code>/var/www/vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookGuzzleHttpClient.php line 61</code></p>
  
  <pre><code>public function send($url, $method, $body, array $headers, $timeOut)
  {
      $options = [
          'headers' =&gt; $headers,
          'body' =&gt; $body,
          'timeout' =&gt; $timeOut,
          'connect_timeout' =&gt; 10,
          'verify' =&gt; __DIR__ . '/certs/DigiCertHighAssuranceEVRootCA.pem',
      ];
      $request = $this-&gt;guzzleClient-&gt;createRequest($method, $url, $options);
  
      try {
          $rawResponse = $this-&gt;guzzleClient-&gt;send($request);
      } catch (RequestException $e) {
          $rawResponse = $e-&gt;getResponse();
  
          if ($e-&gt;getPrevious() instanceof RingException || !$rawResponse instanceof ResponseInterface) {
              throw new FacebookSDKException($e-&gt;getMessage(), $e-&gt;getCode());
          }
      }
  
      $rawHeaders = $this-&gt;getHeadersAsString($rawResponse);
      $rawBody = $rawResponse-&gt;getBody();
      $httpStatusCode = $rawResponse-&gt;getStatusCode();
  
      return new GraphRawResponse($rawHeaders, $rawBody, $httpStatusCode);
  }
  </code></pre>
  
  <p>That calls <code>/var/www/vendor/guzzlehttp/guzzle/src/Client.php line 87</code></p>
  
  <pre><code>public function __call($method, $args)
  {
      if (count($args) &lt; 1) {
          throw new \InvalidArgumentException('Magic request methods require a URI and optional options array');
      }
  
      $uri = $args[0];
      $opts = isset($args[1]) ? $args[1] : [];
  
      return substr($method, -5) === 'Async'
          ? $this-&gt;requestAsync(substr($method, 0, -5), $uri, $opts)
          : $this-&gt;request($method, $uri, $opts);
  }
  </code></pre>
  
  <p>This methond interprets input as <code>array('method' =&gt; 'createRequest', 'uri' =&gt; 'GET'))</code></p>
  
  <p>Changing index seems to correct the error (though other problems araise)</p>
  
  <pre><code> $uri = $args[1];
   $opts = isset($args[2]) ? $args[2] : [];
  </code></pre>
  
  <p>But since it's a very bad practice to edit other packages, how should I correct this error?</p>