@@ -44,7 +44,7 @@ |
||
44 | 44 | $conditions = array_intersect_key($conditions, $default) + $default; |
45 | 45 | |
46 | 46 | foreach ($conditions as $key => $value) { |
47 | - $method = 'match' . ucfirst($key); |
|
47 | + $method = 'match'.ucfirst($key); |
|
48 | 48 | if (!self::{$method}($data, $conditions[$key])) { |
49 | 49 | return false; |
50 | 50 | } |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $validMethods = ['get', 'post', 'put', 'delete']; |
189 | 189 | $requestMethod = strtolower($requestMethod); |
190 | 190 | if (!in_array($requestMethod, $validMethods)) { |
191 | - throw new \UnexpectedValueException('Unsupported http request method ' . $requestMethod); |
|
191 | + throw new \UnexpectedValueException('Unsupported http request method '.$requestMethod); |
|
192 | 192 | } |
193 | 193 | $response = $this->getTwitter() |
194 | 194 | ->{$requestMethod}($endpoint, $query); |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | ]; |
282 | 282 | foreach (['query', 'grep', 'require'] as $test) { |
283 | 283 | if (!is_array($options[$test])) { |
284 | - throw new \UnexpectedValueException('"' . $test . '" option must be an array'); |
|
284 | + throw new \UnexpectedValueException('"'.$test.'" option must be an array'); |
|
285 | 285 | } |
286 | 286 | } |
287 | 287 | $options['query'] = array_filter($options['query']); |