Passed
Push — master ( fc7811...360d9f )
by Alexander
05:14
created
tests/Helpers/ArrayHelperTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,23 +17,23 @@
 block discarded – undo
17 17
 {
18 18
     public function testPermuting()
19 19
     {
20
-        $input = ['a', 'b',];
20
+        $input = ['a', 'b', ];
21 21
         $output = ArrayHelper::permute($input);
22 22
         $this->assertCount(2, $output);
23
-        $this->assertEquals(['a', 'b',], $output[0]);
24
-        $this->assertEquals(['b', 'a',], $output[1]);
23
+        $this->assertEquals(['a', 'b', ], $output[0]);
24
+        $this->assertEquals(['b', 'a', ], $output[1]);
25 25
     }
26 26
 
27 27
     public function testSome()
28 28
     {
29 29
         $array = [1, 2, 3];
30 30
 
31
-        $arrayHas2 = ArrayHelper::some($array, function (int $item) {
31
+        $arrayHas2 = ArrayHelper::some($array, function(int $item) {
32 32
             return $item === 2;
33 33
         });
34 34
         $this->assertTrue($arrayHas2);
35 35
 
36
-        $arrayDoesNotHave4 = ArrayHelper::some($array, function (int $item) {
36
+        $arrayDoesNotHave4 = ArrayHelper::some($array, function(int $item) {
37 37
             return $item === 4;
38 38
         });
39 39
         $this->assertFalse($arrayDoesNotHave4);
Please login to merge, or discard this patch.