CodeDoc/Data/Method.php
authorAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 10:31:14 +0000 (18:31 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 10:31:14 +0000 (18:31 +0800)
CodeDoc/Data/Method.php

index 93f742f..8cd33fb 100644 (file)
@@ -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
+                    )
+                    
+                )
             );
         }