Completed
Push — develop ( 36acf1...96b4d8 )
by Tom
03:23
created
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.
src/Message/ClassifiersResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
             foreach ($this->data->classifiers as $classifier) {
30 30
                 $owner = isset($classifier->owner) ? $classifier->owner : null;
31
-                $created = isset($classifier->created) ? new DateTime($classifier->created): null;
31
+                $created = isset($classifier->created) ? new DateTime($classifier->created) : null;
32 32
 
33 33
                 $classifiers[] = new Classifier($classifier->classifier_id, $classifier->name, null, $owner, $created);
34 34
             }
Please login to merge, or discard this patch.