We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bac286d commit 196e96aCopy full SHA for 196e96a
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# CHANGELOG
2
3
+### Bug fix
4
+
5
+ * Method's Parameter Dependencies added to arrows.
6
7
## v0.2.1 (2023-02-16)
8
9
### Bug fix
src/DiagramElement/Entry.php
@@ -89,8 +89,10 @@ public function getArrows(): array {
89
if ( ! $m->getAccessModifier()->isPublic()) {
90
continue;
91
}
92
- if (count($m->getParams()) > 0) {
93
- continue;
+ foreach ($m->getParams() as $p) {
+ foreach ($p->getType()->getTypes() as $t) {
94
+ $arrows[] = new ArrowDependency($this->class, $t);
95
+ }
96
97
foreach ($m->getType()->getTypes() as $t) {
98
$arrows[] = new ArrowDependency($this->class, $t);
0 commit comments