Skip to content

Commit

Permalink
Replace markdown blockquote to <note> tag (Writerside bug?)
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Sep 26, 2024
1 parent 48efbbe commit e8ca5d4
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions Writerside/topics/language/generic-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,23 @@ any way.
Each argument is enclosed in triangle brackets `<` and `>` and separated by a
comma (`,`).

> Please note that throughout the documentation the term "**template argument**"
> is used because the similar term "**template parameter**" is used to describe
> a declaration.
>
> If the PHP language supported generic types, then the declaration
> (in pseudo-language) of the type:
>
> * `interface Traversable<TKey of array-key, TValue of mixed>` would contain
> **parameters**
>
> and the reference to the type:
>
> * `Traversable<int<0, max>, string>` would contain **arguments**.
>
> {style="note"}
<note>

Please note that throughout the documentation the term "**template argument**"
is used because the similar term "**template parameter**" is used to describe
a declaration.

If the PHP language supported generic types, then the declaration
(in pseudo-language) of the type:

* `interface Traversable&lt;node of array-key, TValue of mixed>` would contain
**parameters**

and the reference to the type:

* `Traversable<int<0, max>, string>` would contain **arguments**.

</note>

<tabs>
<tab title="Examples">
Expand Down

0 comments on commit e8ca5d4

Please sign in to comment.