@@ -84,6 +84,9 @@ |
||
84 | 84 | return false; |
85 | 85 | } |
86 | 86 | |
87 | + /** |
|
88 | + * @param string $method |
|
89 | + */ |
|
87 | 90 | public function call($method, $arguments = array()) |
88 | 91 | { |
89 | 92 | if ($this->validate_arguments($method, $arguments) == true) |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Redbox\Twitch\Resource; |
3 | -use Redbox\Twitch\Exception; |
|
4 | 3 | use Redbox\Twitch\Client; |
4 | +use Redbox\Twitch\Exception; |
|
5 | 5 | use Redbox\Twitch\Transport\HttpRequest; |
6 | 6 | |
7 | 7 | class ResourceAbstract |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Redbox\Twitch\Transport; |
3 | +use Redbox\Twitch\Client; |
|
3 | 4 | use Redbox\Twitch\Exception; |
4 | -use Redbox\Twitch\Transport\Adapter\Curl as DefaultAdapter; |
|
5 | 5 | use Redbox\Twitch\Transport\Adapter; |
6 | -use Redbox\Twitch\Client; |
|
6 | +use Redbox\Twitch\Transport\Adapter\Curl as DefaultAdapter; |
|
7 | 7 | |
8 | 8 | class Http implements TransportInterface |
9 | 9 | { |
@@ -310,7 +310,7 @@ |
||
310 | 310 | |
311 | 311 | |
312 | 312 | /** |
313 | - * @param $api_url |
|
313 | + * @param string $api_url |
|
314 | 314 | * @return $this |
315 | 315 | */ |
316 | 316 | public function setApiUrl($api_url) |
@@ -1,10 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Redbox\Twitch; |
3 | -use Redbox\Twitch\Transport\TransportInterface; |
|
4 | -use Redbox\Twitch\Transport\HttpRequest; |
|
5 | -use Redbox\Twitch\Transport\Http; |
|
6 | -use Redbox\Twitch\Commands; |
|
7 | 3 | use Redbox\Twitch\Auth\AuthModel; |
4 | +use Redbox\Twitch\Transport\Http; |
|
5 | +use Redbox\Twitch\Transport\HttpRequest; |
|
6 | +use Redbox\Twitch\Transport\TransportInterface; |
|
8 | 7 | |
9 | 8 | class Client |
10 | 9 | { |