Skip to content

Commit 8827841

Browse files
committed
Named arguments - test optional parameter
1 parent 65e4cec commit 8827841

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/PHPStan/Rules/Methods/data/named-arguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Foo
88
public function doFoo(
99
int $i,
1010
int $j,
11-
int $k
11+
int $k, ?int $l = null
1212
)
1313
{
1414

0 commit comments

Comments
 (0)