Completed
Pull Request — master (#391)
by Elan
01:16
created
src/Profile.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      * out of the meta data in a profile. For example `SERVER.REQUEST_TIME`
158 158
      *
159 159
      * @param string $key the dotted key to read
160
-     * @return mixed|null null on failure, otherwise the stored value
160
+     * @return string null on failure, otherwise the stored value
161 161
      */
162 162
     public function getMeta($key = null)
163 163
     {
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      * @param string $symbol the name of the function/method to find
239 239
      *    relatives for
240 240
      * @param string $metric the metric to compare $threshold with
241
-     * @param float $threshold The threshold to exclude child functions at. Any
241
+     * @param integer $threshold The threshold to exclude child functions at. Any
242 242
      *   function that represents less than this percentage of the current metric
243 243
      *   will be filtered out.
244 244
      * @return array List of (parent, current, children)
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
      *
290 290
      * @param string $symbol the name of the function to find children of
291 291
      * @param string $metric the metric to compare $threshold with
292
-     * @param float $threshold The threshold to exclude functions at. Any
292
+     * @param integer $threshold The threshold to exclude functions at. Any
293 293
      *   function that represents less than
294 294
      * @return array an array of child methods
295 295
      */
@@ -575,6 +575,11 @@  discard block
 block discarded – undo
575 575
         return $out;
576 576
     }
577 577
 
578
+    /**
579
+     * @param string $parentName
580
+     * @param string $metric
581
+     * @param double $threshold
582
+     */
578 583
     protected function _callgraphData($parentName, $main, $metric, $threshold, $parentIndex = null)
579 584
     {
580 585
         // Leaves don't have children, and don't have links/nodes to add.
Please login to merge, or discard this patch.