Completed
Push — master ( d51461...d637cb )
by Alberto
02:53
created
src/Utility/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Chirp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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']);
Please login to merge, or discard this patch.