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 13276e5 commit eed8cc3Copy full SHA for eed8cc3
src/Doc.php
@@ -58,6 +58,13 @@ public function getTags(): Tags {
58
return $this->tags;
59
}
60
61
+ /**
62
+ * @return array<int, Tag>
63
+ */
64
+ public function getParams(): array {
65
+ return $this->getTags()->getParams();
66
+ }
67
+
68
/**
69
* @phpstan-param DocArray $data
70
*/
src/Hook.php
@@ -87,7 +87,7 @@ public function getArgs(): int {
87
* @return array<int, Tag>
88
89
public function getParams(): array {
90
- return $this->getDoc()->getTags()->getParams();
+ return $this->getDoc()->getParams();
91
92
93
0 commit comments