We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d71baf commit 45f99f5Copy full SHA for 45f99f5
src/yapi/Method.php
@@ -216,6 +216,6 @@ private function getProperties(\ReflectionClass $reflectionClass): array
216
if ($reflectionClass->getParentClass()) {
217
$params = array_merge($params, $this->getProperties($reflectionClass->getParentClass()));
218
}
219
- return $params;
+ return array_unique($params);
220
221
0 commit comments