@@ -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) |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * |
102 | 102 | * @param integer $percentile The percentile you want. e.g. 90. |
103 | 103 | * @param string $url |
104 | - * @param array $search Search options containing startDate and or endDate |
|
104 | + * @param Xhgui_Storage_Filter $filter |
|
105 | 105 | * @return array Array of metrics grouped by date |
106 | 106 | */ |
107 | 107 | public function getPercentileForUrl($percentile, $url, $filter) |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | /** |
138 | 138 | * Get a paginated set of results. |
139 | 139 | * |
140 | - * @param array $options The find options to use. |
|
140 | + * @param Xhgui_Storage_Filter $filter |
|
141 | 141 | * @return array An array of result data. |
142 | 142 | */ |
143 | 143 | public function getAll($filter) |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |
142 | - * @param $a |
|
142 | + * @param double $a |
|
143 | 143 | * @param $b |
144 | 144 | * @param bool $includeSelf |
145 | 145 | * @return array |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | * out of the meta data in a profile. For example `SERVER.REQUEST_TIME` |
202 | 202 | * |
203 | 203 | * @param string $key The dotted key to read. |
204 | - * @return null|mixed Null on failure, otherwise the stored value. |
|
204 | + * @return string Null on failure, otherwise the stored value. |
|
205 | 205 | */ |
206 | 206 | public function getMeta($key = null) |
207 | 207 | { |
@@ -279,7 +279,7 @@ discard block |
||
279 | 279 | * @param string $symbol The name of the function/method to find |
280 | 280 | * relatives for. |
281 | 281 | * @param string $metric The metric to compare $threshold with. |
282 | - * @param float $threshold The threshold to exclude child functions at. Any |
|
282 | + * @param integer $threshold The threshold to exclude child functions at. Any |
|
283 | 283 | * function that represents less than this percentage of the current metric |
284 | 284 | * will be filtered out. |
285 | 285 | * @return array List of (parent, current, children) |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | * |
327 | 327 | * @param string $symbol The name of the function to find children of. |
328 | 328 | * @param string $metric The metric to compare $threshold with. |
329 | - * @param float $threshold The threshold to exclude functions at. Any |
|
329 | + * @param integer $threshold The threshold to exclude functions at. Any |
|
330 | 330 | * function that represents less than |
331 | 331 | * @return array An array of child methods. |
332 | 332 | */ |
@@ -585,10 +585,10 @@ discard block |
||
585 | 585 | } |
586 | 586 | |
587 | 587 | /** |
588 | - * @param $parentName |
|
588 | + * @param string $parentName |
|
589 | 589 | * @param $main |
590 | - * @param $metric |
|
591 | - * @param $threshold |
|
590 | + * @param string $metric |
|
591 | + * @param double $threshold |
|
592 | 592 | * @param null $parentIndex |
593 | 593 | */ |
594 | 594 | protected function _callgraphData($parentName, $main, $metric, $threshold, $parentIndex = null) |
@@ -12,7 +12,6 @@ |
||
12 | 12 | /** |
13 | 13 | * Xhgui_Controller_Custom constructor. |
14 | 14 | * @param Slim $app |
15 | - * @param Xhgui_Profiles $searcher |
|
16 | 15 | */ |
17 | 16 | public function __construct(Slim $app, Xhgui_Profiles $profiles) |
18 | 17 | { |
@@ -7,7 +7,7 @@ |
||
7 | 7 | /** |
8 | 8 | * Try to get date from Y-m-d H:i:s or from timestamp |
9 | 9 | * |
10 | - * @param string|int $date |
|
10 | + * @param DateTime $date |
|
11 | 11 | * @param string $direction |
12 | 12 | * @return \DateTime |
13 | 13 | */ |
@@ -309,7 +309,7 @@ |
||
309 | 309 | * In most cases just add .meta extension |
310 | 310 | * |
311 | 311 | * @param $file |
312 | - * @return mixed |
|
312 | + * @return string |
|
313 | 313 | */ |
314 | 314 | protected function getMetafileNameFromProfileName($file) |
315 | 315 | { |
@@ -429,10 +429,10 @@ |
||
429 | 429 | * |
430 | 430 | * @param array $where |
431 | 431 | * @param array $params |
432 | - * @param $field |
|
432 | + * @param string $field |
|
433 | 433 | * @param $value |
434 | - * @param $fieldToLookIn |
|
435 | - * @param array $path |
|
434 | + * @param string $fieldToLookIn |
|
435 | + * @param string[] $path |
|
436 | 436 | * @return array |
437 | 437 | * @todo this should be moved to engine specific storage classes in the future. |
438 | 438 | */ |