diff --git a/docs/syntax/classDiagram.md b/docs/syntax/classDiagram.md index ed15922f13..0327b96fe0 100644 --- a/docs/syntax/classDiagram.md +++ b/docs/syntax/classDiagram.md @@ -285,8 +285,9 @@ To describe the visibility (or encapsulation) of an attribute or method/function > _note_ you can also include additional _classifiers_ to a method definition by adding the following notation to the _end_ of the method, i.e.: after the `()` or after the return type: > -> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` > - `$` Static e.g.: `someStaticMethod()$` or `someStaticMethod() String$` +> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` +> - `$*` Both e.g: `someAbstractMethod()$*` or `someAbstractMethod() int$*` > _note_ you can also include additional _classifiers_ to a field definition by adding the following notation to the very end: > diff --git a/packages/mermaid/src/docs/syntax/classDiagram.md b/packages/mermaid/src/docs/syntax/classDiagram.md index 029d11b540..d856f90563 100644 --- a/packages/mermaid/src/docs/syntax/classDiagram.md +++ b/packages/mermaid/src/docs/syntax/classDiagram.md @@ -173,8 +173,9 @@ To describe the visibility (or encapsulation) of an attribute or method/function > _note_ you can also include additional _classifiers_ to a method definition by adding the following notation to the _end_ of the method, i.e.: after the `()` or after the return type: > -> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` > - `$` Static e.g.: `someStaticMethod()$` or `someStaticMethod() String$` +> - `*` Abstract e.g.: `someAbstractMethod()*` or `someAbstractMethod() int*` +> - `$*` Both e.g: `someAbstractMethod()$*` or `someAbstractMethod() int$*` > _note_ you can also include additional _classifiers_ to a field definition by adding the following notation to the very end: >