Skip to content

Commit 5968e5f

Browse files
villfaondrejmirtes
authored andcommitted
Fix typo in doc/grammars
1 parent 5e424af commit 5968e5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: doc/grammars/phpdoc-method.peg

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ MethodParametersInner
2020
= MethodParameter (',' MethodParameter)*
2121

2222
MethodParameter
23-
= MethodParameterType? IsReference? IsVariaric? MethodParameterName MethodParameterDefaultValue?
23+
= MethodParameterType? IsReference? IsVariadic? MethodParameterName MethodParameterDefaultValue?
2424

2525
MethodParameterType
2626
= Type
2727

2828
IsReference
2929
= '&'
3030

31-
IsVariaric
31+
IsVariadic
3232
= '...'
3333

3434
MethodParameterName

Diff for: doc/grammars/phpdoc-param.peg

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AnnotationName
77
IsReference
88
= '&'
99

10-
IsVariaric
10+
IsVariadic
1111
= '...'
1212

1313
ParameterName

0 commit comments

Comments
 (0)