Completed
Branch master (812c59)
by Vadim
03:42
created
src/Xhgui/Profile.php 1 patch
Doc Comments   +11 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@  discard block
 block discarded – undo
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 = array();
@@ -149,7 +152,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Xhgui/Twig/Extension.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.