Completed
Pull Request — master (#45)
by Christopher
03:33
created
src/polyfill.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,9 @@
 block discarded – undo
51 51
 if(!function_exists('iterable_to_array')) {
52 52
     function iterable_to_array(iterable $it): array
53 53
     {
54
-        if (is_array($it)) return $it;
54
+        if (is_array($it)) {
55
+            return $it;
56
+        }
55 57
         $ret = [];
56 58
         array_push($ret, ...$it);
57 59
         return $ret;
Please login to merge, or discard this patch.