Completed
Push — master ( cffdc3...e813e3 )
by Johnny
02:49 queued 39s
created
src/Resource/ResourceAbstract.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Transport/Http.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Client.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,9 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.