title: API Call with Lumen + Guzzle gives error Array to string conversion
body: <p>I'm trying to call <a href="https://api.binance.com/api/v3/ticker/price" rel="nofollow noreferrer">https://api.binance.com/api/v3/ticker/price</a> as a json object, however I keep getting <strong>Array to string conversion</strong> when I use json_decode. What am I doing wrong here?</p>
  
  <pre><code>&lt;?php namespace App\Helpers;
  
  use GuzzleHttp\Exception\GuzzleException;
  use GuzzleHttp\Client;
  
  class Ticker
  {
      private $client;
  
      public function __construct()
      {
          $this-&gt;client = new Client(['base_uri' =&gt; 'https://api.binance.com/api/']);
      }
  
      public function update()
      {
  
          $response = json_decode($this-&gt;client-&gt;get('v3/ticker/price')-&gt;getBody());
          return $response;
      }
  }
  </code></pre>