Passed
Branch master (dcd1b6)
by Paweł
04:25
created
Category
src/Endpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         preg_match_all('/{(.+?)}/', $endpoint, $matches);
26 26
         $placeholders = array_combine($matches['0'], $matches['1']);
27 27
 
28
-        array_walk($params, function ($value, $key) use (&$params) {
28
+        array_walk($params, function($value, $key) use (&$params) {
29 29
             $params[$key] = is_array($value) ? json_encode($value) : $value;
30 30
         });
31 31
 
Please login to merge, or discard this patch.
src/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     {
26 26
         if (preg_match_all(static::$tagsPattern, mb_strtolower($text), $matches)) {
27 27
 
28
-            $tags = array_filter($matches['1'], function ($tag) use ($minLength) {
28
+            $tags = array_filter($matches['1'], function($tag) use ($minLength) {
29 29
                 if ($minLength === false || is_int($minLength) && mb_strlen($tag) >= $minLength) {
30 30
                     return true;
31 31
                 }
Please login to merge, or discard this patch.