Completed
Push — master ( 5d8ce5...74f5f8 )
by Paweł
03:08
created
src/Endpoint.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             'query_hash' => $queryHash,
51 51
             'variables' => [
52 52
                 'tag_name' => $tagName,
53
-                'first' => $first?:rand(2, 11),
53
+                'first' => $first ?: rand(2, 11),
54 54
                 'after' => $after,
55 55
             ],
56 56
         ]);
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         preg_match_all('/{(.+?)}/', $endpoint, $matches);
62 62
         $placeholders = array_combine($matches['0'], $matches['1']);
63 63
 
64
-        array_walk($params, function ($value, $key) use (&$params) {
64
+        array_walk($params, function($value, $key) use (&$params) {
65 65
             $params[$key] = is_array($value) ? json_encode($value) : $value;
66 66
         });
67 67
 
Please login to merge, or discard this patch.