diff --git a/extensions/yii/apidoc/templates/html/views/methodDetails.php b/extensions/yii/apidoc/templates/html/views/methodDetails.php index c3e5290..5501133 100644 --- a/extensions/yii/apidoc/templates/html/views/methodDetails.php +++ b/extensions/yii/apidoc/templates/html/views/methodDetails.php @@ -32,7 +32,7 @@ if (empty($methods)) { context->renderMethodSignature($method) ?> - params) || !empty($method->return)): ?> + params) || !empty($method->return) || !empty($method->exceptions)): ?> params as $param): ?> name ?> @@ -42,11 +42,18 @@ if (empty($methods)) { return)): ?> - + context->typeLink($method->returnTypes); ?> return, $type); ?> + exceptions as $exception => $description): ?> + + + context->typeLink($exception) ?> + + +