Completed
Pull Request — master (#268)
by
unknown
01:25 queued 14s
created
src/Xhgui/Profiles.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Xhgui/Profile.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Xhgui/Controller/Custom.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Xhgui/Storage/Abstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Xhgui/Storage/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -309,7 +309,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.