Completed
Pull Request — develop (#1)
by Adam
03:09
created
src/Common/Message/AbstractRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
      * Set a parameter on the request
181 181
      *
182 182
      * @param string $key
183
-     * @param mixed $value
183
+     * @param string $value
184 184
      * @return $this
185 185
      * @throws RuntimeException
186 186
      */
Please login to merge, or discard this patch.
src/Common/Tests/AbstractServiceTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         return $this->httpRequest;
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $class
91
+     */
89 92
     public function callCreateRequest($class, array $parameters)
90 93
     {
91 94
         return $this->createRequest($class, $parameters);
Please login to merge, or discard this patch.
src/Common/Tests/HelperTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace IBM\Watson\Common\Tests;
4 4
 
5
-use Mockery as m;
6 5
 use IBM\Watson\Common\Helper;
6
+use Mockery as m;
7 7
 use PHPUnit\Framework\TestCase;
8 8
 
9 9
 class HelperTest extends TestCase
Please login to merge, or discard this patch.
src/Common/Tests/Message/AbstractRequestTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 
6 6
 use GuzzleHttp\Client;
7 7
 use IBM\Watson\Common\Message\AbstractRequest;
8
-use IBM\Watson\Common\Tests\AbstractServiceTest_MockAbstractService;
9 8
 use Mockery as m;
10 9
 use PHPUnit\Framework\TestCase;
11 10
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.