From d5f48243cda3d158c901c75cec9570b9506864bc Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 25 Oct 2016 18:31:14 +0800 Subject: [PATCH] CodeDoc/Data/Method.php --- CodeDoc/Data/Method.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/CodeDoc/Data/Method.php b/CodeDoc/Data/Method.php index 93f742f..8cd33fb 100644 --- a/CodeDoc/Data/Method.php +++ b/CodeDoc/Data/Method.php @@ -135,11 +135,19 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data { 'xtype' => 'Section', ); } - if ( !empty($this->description->throws) { + if ( !empty($this->description->throws)) { $items[] = array( 'stype' => 'throws', '|xns' => 'Roo.doc', - 'xtype' => 'Throws', + 'xtype' => 'Section', + 'items' => array( + array( + '|xns' => 'Roo.doc', + 'xtype' => 'para', + 'html' => $this->description->throws + ) + + ) ); } -- 2.39.2