@@ -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 |
@@ -126,7 +126,7 @@ |
||
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 |
@@ -97,6 +97,9 @@ |
||
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); |