Completed
Push — develop ( 6f4856...efc3ee )
by Tom
13:31 queued 10:46
created
src/Image.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * Get classification score.
49 49
      *
50
-     * @return Classifier[]
50
+     * @return double
51 51
      */
52 52
     public function getClassifiers()
53 53
     {
Please login to merge, or discard this patch.
Tests/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * Get a mock response for a client by mock file name
27 27
      *
28 28
      * @param string $path Relative path to the mock response file
29
-     * @param string $code HTTP response code to respond with
29
+     * @param integer $code HTTP response code to respond with
30 30
      *
31 31
      * @return Response
32 32
      */
Please login to merge, or discard this patch.
Tests/Message/GetClassifiersRequestTest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,6 @@
 block discarded – undo
5 5
 use Bobbyshaw\WatsonVisualRecognition\Client;
6 6
 use Bobbyshaw\WatsonVisualRecognition\Message\GetClassifiersRequest;
7 7
 use Bobbyshaw\WatsonVisualRecognition\Tests\Base;
8
-use GuzzleHttp\Client as GuzzleClient;
9
-use GuzzleHttp\Handler\MockHandler;
10
-use GuzzleHttp\HandlerStack;
11
-use GuzzleHttp\Psr7\Response;
12 8
 use GuzzleHttp\Psr7\Request;
13 9
 use GuzzleHttp\Psr7\Uri;
14 10
 
Please login to merge, or discard this patch.
src/Message/AbstractResponse.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Abstract Response
4
- */
3
+     * Abstract Response
4
+     */
5 5
 
6 6
 namespace Bobbyshaw\WatsonVisualRecognition\Message;
7 7
 
Please login to merge, or discard this patch.
src/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     {
23 23
         if (is_array($parameters)) {
24 24
             foreach ($parameters as $key => $value) {
25
-                $method = 'set'.ucfirst(static::camelCase($key));
25
+                $method = 'set' . ucfirst(static::camelCase($key));
26 26
                 if (method_exists($target, $method)) {
27 27
                     $target->$method($value);
28 28
                 }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         return preg_replace_callback(
42 42
             '/_([a-z])/',
43
-            function ($match) {
43
+            function($match) {
44 44
                 return strtoupper($match[1]);
45 45
             },
46 46
             $str
Please login to merge, or discard this patch.