@@ -5,10 +5,6 @@ |
||
| 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 | |
@@ -22,7 +22,7 @@ discard block |
||
| 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 |
||
| 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 |