Skip to content

Commit

Permalink
multiple args quickfix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidanio committed Aug 16, 2024
1 parent 4658af4 commit 237ffd5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/golden/testdata/quickfix/nullableTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ public function myMethod(MyClass1 $a = null) {
function nullableArray(array $a = null) {
return 0;
}

function multipleArgsExample(string $a, int $b = null, bool $c = null) {
return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ class MyClass2 {
function nullableArray(?array $a = null) {
return 0;
}

function multipleArgsExample(string $a, ?int $b = null, ?bool $c = null) {
return 0;
}

0 comments on commit 237ffd5

Please sign in to comment.