Skip to content

Commit 427b349

Browse files
committed
Fix PHP < 7.4
1 parent eb5a14b commit 427b349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/php/util/data/unittest/SequenceCreationTest.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function concat() {
8686
public function concat_after_mapping() {
8787
$this->assertSequence(
8888
[2, 4, 6, 'EOF'],
89-
Sequence::of([1, 2, 3])->map(fn($e) => $e * 2)->concat(['EOF'])
89+
Sequence::of([1, 2, 3])->map(function($e) { return $e * 2; })->concat(['EOF'])
9090
);
9191
}
9292

0 commit comments

Comments
 (0)