Skip to content

Commit 21b0bad

Browse files
committed
update README.
1 parent 05c1000 commit 21b0bad

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
### Bug fix
4+
5+
* Fixed. #40 If the namespace name and class name are the same, the class will not be displayed
6+
37
## v0.3.1 (2023-02-24)
48

59
### Features

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,20 +124,21 @@ To execute `php-class-diagram` will print PlantUML script.
124124
$ vendor/bin/php-class-diagram test/fixtures/no-namespace
125125
@startuml class-diagram
126126
package product as product {
127-
class product.Price {
127+
class "Price" as product_Price {
128128
-price : int
129129
}
130-
class product.Name {
130+
class "Name" as product_Name {
131131
-name : string
132132
}
133-
class product.Product {
133+
class "Product" as product_Product {
134134
-name : Name
135135
-price : Price
136136
+method1(param1)
137137
}
138138
}
139-
product.Product ..> product.Name
140-
product.Product ..> product.Price
139+
product_Product ..> product_Name
140+
product_Product ..> product_Price
141+
product_Product ..> product_Product
141142
@enduml
142143
```
143144

output.png

1.13 KB
Loading

0 commit comments

Comments
 (0)