@@ -100,6 +100,9 @@ discard block  | 
                                                    ||
| 100 | 100 | return $a;  | 
                                                        
| 101 | 101 | }  | 
                                                        
| 102 | 102 | |
| 103 | + /**  | 
                                                        |
| 104 | + * @param double $a  | 
                                                        |
| 105 | + */  | 
                                                        |
| 103 | 106 | protected function _diffPercentKeys($a, $b, $includeSelf = true)  | 
                                                        
| 104 | 107 |      { | 
                                                        
| 105 | 108 | $out = [];  | 
                                                        
@@ -149,7 +152,7 @@ discard block  | 
                                                    ||
| 149 | 152 | * out of the meta data in a profile. For example `SERVER.REQUEST_TIME`  | 
                                                        
| 150 | 153 | *  | 
                                                        
| 151 | 154 | * @param string $key The dotted key to read.  | 
                                                        
| 152 | - * @return null|mixed Null on failure, otherwise the stored value.  | 
                                                        |
| 155 | + * @return string Null on failure, otherwise the stored value.  | 
                                                        |
| 153 | 156 | */  | 
                                                        
| 154 | 157 | public function getMeta($key = null)  | 
                                                        
| 155 | 158 |      { | 
                                                        
@@ -226,7 +229,7 @@ discard block  | 
                                                    ||
| 226 | 229 | * @param string $symbol The name of the function/method to find  | 
                                                        
| 227 | 230 | * relatives for.  | 
                                                        
| 228 | 231 | * @param string $metric The metric to compare $threshold with.  | 
                                                        
| 229 | - * @param float $threshold The threshold to exclude child functions at. Any  | 
                                                        |
| 232 | + * @param integer $threshold The threshold to exclude child functions at. Any  | 
                                                        |
| 230 | 233 | * function that represents less than this percentage of the current metric  | 
                                                        
| 231 | 234 | * will be filtered out.  | 
                                                        
| 232 | 235 | * @return array List of (parent, current, children)  | 
                                                        
@@ -275,7 +278,7 @@ discard block  | 
                                                    ||
| 275 | 278 | *  | 
                                                        
| 276 | 279 | * @param string $symbol The name of the function to find children of.  | 
                                                        
| 277 | 280 | * @param string $metric The metric to compare $threshold with.  | 
                                                        
| 278 | - * @param float $threshold The threshold to exclude functions at. Any  | 
                                                        |
| 281 | + * @param integer $threshold The threshold to exclude functions at. Any  | 
                                                        |
| 279 | 282 | * function that represents less than  | 
                                                        
| 280 | 283 | * @return array An array of child methods.  | 
                                                        
| 281 | 284 | */  | 
                                                        
@@ -552,6 +555,11 @@ discard block  | 
                                                    ||
| 552 | 555 | return $out;  | 
                                                        
| 553 | 556 | }  | 
                                                        
| 554 | 557 | |
| 558 | + /**  | 
                                                        |
| 559 | + * @param string $parentName  | 
                                                        |
| 560 | + * @param string $metric  | 
                                                        |
| 561 | + * @param double $threshold  | 
                                                        |
| 562 | + */  | 
                                                        |
| 555 | 563 | protected function _callgraphData($parentName, $main, $metric, $threshold, $parentIndex = null)  | 
                                                        
| 556 | 564 |      { | 
                                                        
| 557 | 565 | // Leaves don't have children, and don't have links/nodes to add.  |