Completed
Pull Request — master (#268)
by
unknown
01:16
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/Storage/File.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
 
296 296
     /**
297 297
      * @param $file
298
-     * @return mixed
298
+     * @return string
299 299
      */
300 300
     protected function getMetafileNameFromProfileName($file)
301 301
     {
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 
306 306
 
307 307
     /**
308
-     * @param $timestamp
308
+     * @param DateTime $timestamp
309 309
      * @return bool|DateTime
310 310
      */
311 311
     protected function getDateTimeFromStringOrTimestamp($timestamp)
Please login to merge, or discard this patch.
src/Xhgui/Storage/Mongo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
     }
324 324
 
325 325
     /**
326
-     * @param string|int $date
326
+     * @param DateTime $date
327 327
      * @return \DateTime
328 328
      */
329 329
     protected function getDateTimeFromString($date)
Please login to merge, or discard this patch.
src/Xhgui/Storage/PDO.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
     }
327 327
 
328 328
     /**
329
-     * @param string|int $date
329
+     * @param DateTime $date
330 330
      * @return \DateTime
331 331
      */
332 332
     protected function getDateTimeFromString($date) {
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.