@@ -41,7 +41,10 @@ public function __construct(
4141
4242 /**
4343 * @param ServerDoc $doc
44+ *
4445 * @return array
46+ *
47+ * @throws \ReflectionException
4548 */
4649 public function normalize (ServerDoc $ doc )
4750 {
@@ -57,6 +60,8 @@ public function normalize(ServerDoc $doc)
5760 * @param ServerDoc $doc
5861 *
5962 * @return array
63+ *
64+ * @throws \ReflectionException
6065 */
6166 protected function getMethodsExternalSchemaList (ServerDoc $ doc )
6267 {
@@ -73,6 +78,8 @@ protected function getMethodsExternalSchemaList(ServerDoc $doc)
7378 * @param ServerDoc $doc
7479 *
7580 * @return array
81+ *
82+ * @throws \ReflectionException
7683 */
7784 protected function getMethodErrorsExternalSchemaList (ServerDoc $ doc )
7885 {
@@ -95,6 +102,8 @@ protected function getMethodErrorsExternalSchemaList(ServerDoc $doc)
95102 * @param ServerDoc $doc
96103 *
97104 * @return array
105+ *
106+ * @throws \ReflectionException
98107 */
99108 protected function getServerErrorsExtraSchemaList (ServerDoc $ doc )
100109 {
@@ -114,6 +123,8 @@ protected function getServerErrorsExtraSchemaList(ServerDoc $doc)
114123 * @param MethodDoc $method
115124 *
116125 * @return array[]
126+ *
127+ * @throws \ReflectionException
117128 */
118129 protected function getMethodExternalSchemaList (MethodDoc $ method ) : array
119130 {
@@ -195,10 +206,12 @@ function (ErrorDoc $errorDoc) {
195206 }
196207
197208 /**
198- * @param array $errorDocList
199- * @param string $definitionType
209+ * @param array $errorDocList
210+ * @param $definitionType
200211 *
201212 * @return array
213+ *
214+ * @throws \ReflectionException
202215 */
203216 private function normalizeErrorList (array $ errorDocList , $ definitionType )
204217 {
@@ -218,6 +231,8 @@ private function normalizeErrorList(array $errorDocList, $definitionType)
218231 * @param array $list
219232 *
220233 * @return array
234+ *
235+ * @throws \ReflectionException
221236 */
222237 protected function appendAndNormalizeIfNotNull (string $ key , $ value , array $ list = [])
223238 {
0 commit comments