uservoice / uservoice-php

PHP Client Library for UserVoice API
MIT License
9 stars 11 forks source link

client->get() doesn't support params #3

Open tarjei opened 10 years ago

tarjei commented 10 years ago

Hi, even though many of your API GET methods require various params, your GET method does not support it and feils silently. This causes unexpected behaviour.

function get($path) { return $this->request('get', $path); } should be: function get($path) { return $this->request('get', $path, $params = null); }

raimo commented 10 years ago

Could someone open a pull request on this? I suppose the params are supported by the used library