@@ -37,7 +37,7 @@ |
||
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 |
@@ -115,7 +115,7 @@ |
||
115 | 115 | * Set a single parameter |
116 | 116 | * |
117 | 117 | * @param string $key The parameter key |
118 | - * @param mixed $value The value to set |
|
118 | + * @param string $value The value to set |
|
119 | 119 | * @return AbstractRequest Provides a fluent interface |
120 | 120 | */ |
121 | 121 | protected function setParameter($key, $value) |