Skip to content

Commit 9e40059

Browse files
committed
Fix void parameter test
1 parent bb3fd68 commit 9e40059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/code/parser/stmt/function/invalidVoidParam.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Invalid parameter with type void
33
<?php
44
function foo(void $foo) {}
55
-----
6-
Parameter type cannot be void from 2:14 to 2:17
6+
void cannot be used as a parameter type from 2:14 to 2:17
77
array(
88
0: Stmt_Function(
99
attrGroups: array(

0 commit comments

Comments
 (0)