diff --git a/src/tests/checkers/typehint_test.go b/src/tests/checkers/typehint_test.go index c3103c5a5..7e6d044b8 100644 --- a/src/tests/checkers/typehint_test.go +++ b/src/tests/checkers/typehint_test.go @@ -139,3 +139,66 @@ function f2() { } linttest.RunFilterMatch(test, "typeHint") } + +func TestTypeHintToFunParam(t *testing.T) { + test := linttest.NewSuite(t) + test.AddFile(`