Passed
Branch master (75d735)
by Woody
03:07
created
Category
src/algebra.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  */
15 15
 function always($x): callable
16 16
 {
17
-    return function () use ($x) {
17
+    return function() use ($x) {
18 18
         return $x;
19 19
     };
20 20
 }
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
  */
29 29
 function compose(callable $x, callable $y): callable
30 30
 {
31
-    return function ($z) use ($x, $y) {
31
+    return function($z) use ($x, $y) {
32 32
         return $x($y($z));
33 33
     };
34 34
 }
Please login to merge, or discard this patch.
src/array.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
  */
12 12
 function count(iterable $items): int
13 13
 {
14
-    $total = 0;
14
+    $total=0;
15 15
     foreach ($items as $_) {
16 16
         $total++;
17 17
     }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
  */
147 147
 function takeKeys(iterable $items, array $keys): iterable
148 148
 {
149
-    return takeKey($items, function ($key) use ($keys): bool {
149
+    return takeKey($items, function($key) use ($keys): bool {
150 150
         return \in_array($key, $keys, true);
151 151
     });
152 152
 }
Please login to merge, or discard this patch.