| @@ -57,8 +57,7 @@ discard block | ||
| 57 | 57 | /** | 
| 58 | 58 | * Get a URL for xhgui. | 
| 59 | 59 | * | 
| 60 | - * @param string $path The file/path you want a link to | |
| 61 | - * @param array $queryarg Additional querystring arguments. | |
| 60 | + * @param array $queryargs Additional querystring arguments. | |
| 62 | 61 | * @return string url. | 
| 63 | 62 | */ | 
| 64 | 63 | public function url($name, $queryargs = array()) | 
| @@ -73,7 +72,6 @@ discard block | ||
| 73 | 72 | /** | 
| 74 | 73 | * Get the URL for static content relative to webroot | 
| 75 | 74 | * | 
| 76 | - * @param string $path The file/path you want a link to | |
| 77 | 75 | * @return string url. | 
| 78 | 76 | */ | 
| 79 | 77 | public function staticUrl($url) | 
| @@ -94,6 +94,9 @@ discard block | ||
| 94 | 94 | return $a; | 
| 95 | 95 | } | 
| 96 | 96 | |
| 97 | + /** | |
| 98 | + * @param double $a | |
| 99 | + */ | |
| 97 | 100 | protected function _diffPercentKeys($a, $b, $includeSelf = true) | 
| 98 | 101 |      { | 
| 99 | 102 | $out = array(); | 
| @@ -143,7 +146,7 @@ discard block | ||
| 143 | 146 | * out of the meta data in a profile. For example `SERVER.REQUEST_TIME` | 
| 144 | 147 | * | 
| 145 | 148 | * @param string $key The dotted key to read. | 
| 146 | - * @return null|mixed Null on failure, otherwise the stored value. | |
| 149 | + * @return string Null on failure, otherwise the stored value. | |
| 147 | 150 | */ | 
| 148 | 151 | public function getMeta($key = null) | 
| 149 | 152 |      { | 
| @@ -220,7 +223,7 @@ discard block | ||
| 220 | 223 | * @param string $symbol The name of the function/method to find | 
| 221 | 224 | * relatives for. | 
| 222 | 225 | * @param string $metric The metric to compare $threshold with. | 
| 223 | - * @param float $threshold The threshold to exclude child functions at. Any | |
| 226 | + * @param integer $threshold The threshold to exclude child functions at. Any | |
| 224 | 227 | * function that represents less than this percentage of the current metric | 
| 225 | 228 | * will be filtered out. | 
| 226 | 229 | * @return array List of (parent, current, children) | 
| @@ -269,7 +272,7 @@ discard block | ||
| 269 | 272 | * | 
| 270 | 273 | * @param string $symbol The name of the function to find children of. | 
| 271 | 274 | * @param string $metric The metric to compare $threshold with. | 
| 272 | - * @param float $threshold The threshold to exclude functions at. Any | |
| 275 | + * @param integer $threshold The threshold to exclude functions at. Any | |
| 273 | 276 | * function that represents less than | 
| 274 | 277 | * @return array An array of child methods. | 
| 275 | 278 | */ | 
| @@ -527,6 +530,11 @@ discard block | ||
| 527 | 530 | return $out; | 
| 528 | 531 | } | 
| 529 | 532 | |
| 533 | + /** | |
| 534 | + * @param string $parentName | |
| 535 | + * @param string $metric | |
| 536 | + * @param double $threshold | |
| 537 | + */ | |
| 530 | 538 | protected function _callgraphData($parentName, $main, $metric, $threshold, $parentIndex = null) | 
| 531 | 539 |      { | 
| 532 | 540 | // Leaves don't have children, and don't have links/nodes to add. |