File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
Writerside/topics/language Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,23 @@ any way.
1313Each argument is enclosed in triangle brackets ` < ` and ` > ` and separated by a
1414comma (` , ` ).
1515
16- > Please note that throughout the documentation the term "** template argument** "
17- > is used because the similar term "** template parameter** " is used to describe
18- > a declaration.
19- >
20- > If the PHP language supported generic types, then the declaration
21- > (in pseudo-language) of the type:
22- >
23- > * ` interface Traversable<TKey of array-key, TValue of mixed> ` would contain
24- > ** parameters**
25- >
26- > and the reference to the type:
27- >
28- > * ` Traversable<int<0, max>, string> ` would contain ** arguments** .
29- >
30- > {style="note"}
16+ <note >
17+
18+ Please note that throughout the documentation the term "** template argument** "
19+ is used because the similar term "** template parameter** " is used to describe
20+ a declaration.
21+
22+ If the PHP language supported generic types, then the declaration
23+ (in pseudo-language) of the type:
24+
25+ * ` interface Traversable<node of array-key, TValue of mixed> ` would contain
26+ ** parameters**
27+
28+ and the reference to the type:
29+
30+ * ` Traversable<int<0, max>, string> ` would contain ** arguments** .
31+
32+ </note >
3133
3234<tabs >
3335<tab title =" Examples " >
You can’t perform that action at this time.
0 commit comments