Completed
Push — master ( 913308...3cba41 )
by Adam
61:26 queued 55:40
created
src/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $str = self::convertToLowercase($str);
38 38
         return preg_replace_callback(
39 39
             '/_([a-z])/',
40
-            function ($match) {
40
+            function($match) {
41 41
                 return strtoupper($match[1]);
42 42
             },
43 43
             $str
Please login to merge, or discard this patch.
src/Message/AbstractRequest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      * Set a single parameter
127 127
      *
128 128
      * @param string $key   The parameter key
129
-     * @param mixed $value  The value to set
129
+     * @param string $value  The value to set
130 130
      *
131 131
      * @return AbstractRequest $this Provides a fluent interface
132 132
      * @throws RuntimeException if a request parameter is modified after the request is sent
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,9 +7,8 @@
 block discarded – undo
7 7
 
8 8
 use GuzzleHttp\ClientInterface;
9 9
 use GuzzleHttp\Psr7\Response;
10
-use IBM\Watson\Common\Helper;
11 10
 use IBM\Watson\Common\Exception\RuntimeException;
12
-use SebastianBergmann\Environment\Runtime;
11
+use IBM\Watson\Common\Helper;
13 12
 use Symfony\Component\HttpFoundation\ParameterBag;
14 13
 use Symfony\Component\HttpFoundation\Request;
15 14
 
Please login to merge, or discard this patch.
test/AbstractServiceTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@
 block discarded – undo
97 97
         return $this->httpRequest;
98 98
     }
99 99
 
100
+    /**
101
+     * @param string $class
102
+     */
100 103
     public function callCreateRequest($class, array $parameters)
101 104
     {
102 105
         return $this->createRequest($class, $parameters);
Please login to merge, or discard this patch.
test/HelperTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 
4 4
 namespace IBM\Watson\Common;
5 5
 
6
+use IBM\Watson\Common\Helper;
6 7
 use IBM\Watson\Tests\TestCase;
7 8
 use Mockery as m;
8
-use IBM\Watson\Common\Helper;
9 9
 
10 10
 
11 11
 class HelperTest extends TestCase
Please login to merge, or discard this patch.