Skip to content

Commit

Permalink
Fix test wrt. deprecated implicitly nullable parameter types
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Aug 3, 2024
1 parent 24d1bc7 commit fb54bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Foo {
public function exists() {}
}

uopz_add_function(Foo::class, "METHOD", /** doc **/ function(Type $type = null, $with = null, $args = null, ... $vars) : bool {
uopz_add_function(Foo::class, "METHOD", /** doc **/ function(Type|null $type = null, $with = null, $args = null, ... $vars) : bool {
return $this->priv(true);
});

Expand Down

0 comments on commit fb54bce

Please sign in to comment.