@@ -107,7 +107,7 @@ |
||
| 107 | 107 | { |
| 108 | 108 | $coll = new ImmutableCollection(['foo', 'bar', 'baz']); |
| 109 | 109 | $result = $coll->reduce(function ($carry, $item) { |
| 110 | - return $carry . $item; |
|
| 110 | + return $carry.$item; |
|
| 111 | 111 | }); |
| 112 | 112 | |
| 113 | 113 | $this->assertEquals('foobarbaz', $result); |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | { |
| 102 | 102 | $coll = new Collection(['foo', 'bar', 'baz']); |
| 103 | 103 | $result = $coll->reduce(function ($carry, $item) { |
| 104 | - return $carry . $item; |
|
| 104 | + return $carry.$item; |
|
| 105 | 105 | }); |
| 106 | 106 | |
| 107 | 107 | $this->assertEquals('foobarbaz', $result); |