From 32fcea3bdd7433cc414e7e807a9b3bea1e6815f9 Mon Sep 17 00:00:00 2001 From: Jesper Hasselquist Date: Mon, 12 Dec 2022 21:39:19 +0900 Subject: [PATCH] fix(docs): remove duplicate section Remove duplicate `Return Type` section --- packages/mermaid/src/docs/syntax/classDiagram.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/mermaid/src/docs/syntax/classDiagram.md b/packages/mermaid/src/docs/syntax/classDiagram.md index a0f4e5611..8cd5796ff 100644 --- a/packages/mermaid/src/docs/syntax/classDiagram.md +++ b/packages/mermaid/src/docs/syntax/classDiagram.md @@ -141,10 +141,6 @@ Square : +setMessages(List~string~ messages) Square : +getMessages() List~string~ ``` -#### Return Type - -Optionally you can end the method/function definition with the data type that will be returned. - #### Visibility To describe the visibility (or encapsulation) of an attribute or method/function that is a part of a class (i.e. a class member), optional notation may be placed before that members' name: