Since $client is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $client to at least protected.
Loading history...
21
static::$client = new \SoapClient(static::API_URL);