Completed
Push — vagrant ( 76b8a7 )
by Christian
03:00
created
Cmfcmf/OpenWeatherMap.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
      *
461 461
      * @param array|int|string $query           The place to get weather information for. For possible values see below.
462 462
      * @param \DateTime        $start           The \DateTime object of the date to get the first weather information from.
463
-     * @param \DateTime|int    $endOrCount      Can be either a \DateTime object representing the end of the period to
463
+     * @param integer    $endOrCount      Can be either a \DateTime object representing the end of the period to
464 464
      *                                          receive weather history data for or an integer counting the number of
465 465
      *                                          reports requested.
466 466
      * @param string           $type            The period of the weather history requested. Can be either be either "tick",
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
     /**
529 529
      * Fetches the result or delivers a cached version of the result.
530 530
      *
531
-     * @param $url
531
+     * @param string $url
532 532
      *
533 533
      * @return string
534 534
      *
@@ -558,13 +558,13 @@  discard block
 block discarded – undo
558 558
      * Build the url to fetch weather data from.
559 559
      *
560 560
      * @param        $query
561
-     * @param        $units
562
-     * @param        $lang
563
-     * @param        $appid
564
-     * @param        $mode
561
+     * @param        string $units
562
+     * @param        string $lang
563
+     * @param        string $appid
564
+     * @param        string $mode
565 565
      * @param string $url The url to prepend.
566 566
      *
567
-     * @return bool|string The fetched url, false on failure.
567
+     * @return string The fetched url, false on failure.
568 568
      *
569 569
      * @internal
570 570
      */
Please login to merge, or discard this patch.
Examples/Cache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
  */
35 35
 class ExampleCache extends AbstractCache
36 36
 {
37
+    /**
38
+     * @param string $url
39
+     */
37 40
     private function urlToPath($url)
38 41
     {
39 42
         $tmp = sys_get_temp_dir();
Please login to merge, or discard this patch.