Skip to content

Commit 9d21030

Browse files
committed
Fix PHP 7.4 compatibility
1 parent 8fc2c0a commit 9d21030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/php/lang/ast/unittest/emit/CloningTest.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function clone_interceptor_called() {
5050
public function run($in) {
5151
return clone $in;
5252
}
53-
}', $this->fixture->with(id: 1));
53+
}', $this->fixture->with(1));
5454

5555
Assert::equals([1, 2], [$this->fixture->id, $clone->id]);
5656
}

0 commit comments

Comments
 (0)