@@ -223,7 +223,7 @@ discard block  | 
                                                    ||
| 223 | 223 | * Dumps an array as separate values, and uses $names to seed the parser.  | 
                                                        
| 224 | 224 | *  | 
                                                        
| 225 | 225 | * @param array $data Data to be dumped  | 
                                                        
| 226 | - * @param BasicObject[]|null $names Array of BasicObject to seed the parser with  | 
                                                        |
| 226 | + * @param BasicObject[] $names Array of BasicObject to seed the parser with  | 
                                                        |
| 227 | 227 | */  | 
                                                        
| 228 | 228 | public static function dumpArray(array $data, array $names = null)  | 
                                                        
| 229 | 229 |      { | 
                                                        
@@ -484,6 +484,7 @@ discard block  | 
                                                    ||
| 484 | 484 | * call (modifiers).  | 
                                                        
| 485 | 485 | *  | 
                                                        
| 486 | 486 | * @param array $trace  | 
                                                        
| 487 | + * @param integer $num_params  | 
                                                        |
| 487 | 488 | *  | 
                                                        
| 488 | 489 | * @return array($params, $modifiers, $callee, $caller, $miniTrace)  | 
                                                        
| 489 | 490 | */  | 
                                                        
@@ -81,6 +81,9 @@  | 
                                                    ||
| 81 | 81 | return strlen($string);  | 
                                                        
| 82 | 82 | }  | 
                                                        
| 83 | 83 | |
| 84 | + /**  | 
                                                        |
| 85 | + * @param integer $start  | 
                                                        |
| 86 | + */  | 
                                                        |
| 84 | 87 | public static function substr($string, $start, $length = null, $encoding = false)  | 
                                                        
| 85 | 88 |      { | 
                                                        
| 86 | 89 |          if (extension_loaded('mbstring')) { | 
                                                        
@@ -11,6 +11,10 @@  | 
                                                    ||
| 11 | 11 | public $startline;  | 
                                                        
| 12 | 12 |      public $hints = array('object'); | 
                                                        
| 13 | 13 | |
| 14 | + /**  | 
                                                        |
| 15 | + * @param string $a  | 
                                                        |
| 16 | + * @param string $b  | 
                                                        |
| 17 | + */  | 
                                                        |
| 14 | 18 | public static function sortByHierarchy($a, $b)  | 
                                                        
| 15 | 19 |      { | 
                                                        
| 16 | 20 |          if (is_string($a) && is_string($b)) { | 
                                                        
@@ -9,6 +9,11 @@  | 
                                                    ||
| 9 | 9 | public $class = null;  | 
                                                        
| 10 | 10 |      public $hints = array('docstring'); | 
                                                        
| 11 | 11 | |
| 12 | + /**  | 
                                                        |
| 13 | + * @param string $docstring  | 
                                                        |
| 14 | + * @param string $file  | 
                                                        |
| 15 | + * @param integer $line  | 
                                                        |
| 16 | + */  | 
                                                        |
| 12 | 17 | public function __construct($docstring, $file, $line, $class = null)  | 
                                                        
| 13 | 18 |      { | 
                                                        
| 14 | 19 |          parent::__construct('Docstring'); | 
                                                        
@@ -40,7 +40,7 @@  | 
                                                    ||
| 40 | 40 | const TRIGGER_COMPLETE = 14;  | 
                                                        
| 41 | 41 | |
| 42 | 42 | /**  | 
                                                        
| 43 | - * @param bool|int $depth_limit Maximum depth to parse data  | 
                                                        |
| 43 | + * @param integer $depth_limit Maximum depth to parse data  | 
                                                        |
| 44 | 44 | * @param string $caller Caller class name  | 
                                                        
| 45 | 45 | */  | 
                                                        
| 46 | 46 | public function __construct($depth_limit = false, $caller = null)  | 
                                                        
@@ -59,6 +59,10 @@  | 
                                                    ||
| 59 | 59 | $o->addRepresentation($r, 0);  | 
                                                        
| 60 | 60 | }  | 
                                                        
| 61 | 61 | |
| 62 | + /**  | 
                                                        |
| 63 | + * @param string $var  | 
                                                        |
| 64 | + * @param string|null $parent_path  | 
                                                        |
| 65 | + */  | 
                                                        |
| 62 | 66 | protected static function xmlToSimpleXML($var, $parent_path)  | 
                                                        
| 63 | 67 |      { | 
                                                        
| 64 | 68 |          try { | 
                                                        
@@ -16,6 +16,7 @@  | 
                                                    ||
| 16 | 16 | |
| 17 | 17 | /**  | 
                                                        
| 18 | 18 | * Renders a locked header.  | 
                                                        
| 19 | + * @param string $content  | 
                                                        |
| 19 | 20 | */  | 
                                                        
| 20 | 21 | public function renderLockedHeader(BasicObject $o, $content)  | 
                                                        
| 21 | 22 |      { | 
                                                        
@@ -155,6 +155,9 @@ discard block  | 
                                                    ||
| 155 | 155 | return '<dl>'.$header.$children.'</dl>';  | 
                                                        
| 156 | 156 | }  | 
                                                        
| 157 | 157 | |
| 158 | + /**  | 
                                                        |
| 159 | + * @param boolean $has_children  | 
                                                        |
| 160 | + */  | 
                                                        |
| 158 | 161 | public function renderHeaderWrapper(BasicObject $o, $has_children, $contents)  | 
                                                        
| 159 | 162 |      { | 
                                                        
| 160 | 163 | $out = '<dt';  | 
                                                        
@@ -281,6 +284,9 @@ discard block  | 
                                                    ||
| 281 | 284 | return $output.'</dd>';  | 
                                                        
| 282 | 285 | }  | 
                                                        
| 283 | 286 | |
| 287 | + /**  | 
                                                        |
| 288 | + * @return string  | 
                                                        |
| 289 | + */  | 
                                                        |
| 284 | 290 | protected function renderTab(BasicObject $o, Representation $rep)  | 
                                                        
| 285 | 291 |      { | 
                                                        
| 286 | 292 |          if ($plugin = $this->getPlugin(self::$tab_plugins, $rep->hints)) { | 
                                                        
@@ -97,6 +97,9 @@  | 
                                                    ||
| 97 | 97 | T_NS_SEPARATOR => true,  | 
                                                        
| 98 | 98 | );  | 
                                                        
| 99 | 99 | |
| 100 | + /**  | 
                                                        |
| 101 | + * @param string $source  | 
                                                        |
| 102 | + */  | 
                                                        |
| 100 | 103 | public static function getFunctionCalls($source, $line, $function)  | 
                                                        
| 101 | 104 |      { | 
                                                        
| 102 | 105 | static $up = array(  |