Skip to content

Commit 1a53659

Browse files
authored
1 parent c348e2e commit 1a53659

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/tests/post_hook_returns_cloned_modified_object.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ opentelemetry
1010
class Foo
1111
{
1212
public ?string $a = null;
13-
public function __construct(string $a = null)
13+
public function __construct(string|null $a = null)
1414
{
1515
$this->a = $a;
1616
}

ext/tests/span_attribute/function_params_non_simple.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ foo(
3434
null,
3535
);
3636
?>
37-
--EXPECT--
37+
--EXPECTF--
3838
string(3) "pre"
3939
array(4) {
4040
["one"]=>
@@ -46,7 +46,7 @@ array(4) {
4646
object(stdClass)#1 (0) {
4747
}
4848
["three"]=>
49-
object(Closure)#2 (0) {
49+
object(Closure)#2 (%d) {%A
5050
}
5151
["four"]=>
5252
NULL

0 commit comments

Comments
 (0)