Completed
Push — OpenWeatherMap-PHP-Api-17 ( 0a6ed3...bbab65 )
by Christian
02:10
created
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.
Cmfcmf/OpenWeatherMap.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      *
292 292
      * @param array|int|string $query           The place to get weather information for. For possible values see ::getWeather.
293 293
      * @param \DateTime        $start           The \DateTime object of the date to get the first weather information from.
294
-     * @param \DateTime|int    $endOrCount      Can be either a \DateTime object representing the end of the period to
294
+     * @param integer    $endOrCount      Can be either a \DateTime object representing the end of the period to
295 295
      *                                          receive weather history data for or an integer counting the number of
296 296
      *                                          reports requested.
297 297
      * @param string           $type            The period of the weather history requested. Can be either be either "tick",
@@ -373,13 +373,13 @@  discard block
 block discarded – undo
373 373
      * Build the url to fetch weather data from.
374 374
      *
375 375
      * @param        $query
376
-     * @param        $units
377
-     * @param        $lang
378
-     * @param        $appid
379
-     * @param        $mode
376
+     * @param        string $units
377
+     * @param        string $lang
378
+     * @param        string $appid
379
+     * @param        string $mode
380 380
      * @param string $url The url to prepend.
381 381
      *
382
-     * @return bool|string The fetched url, false on failure.
382
+     * @return string The fetched url, false on failure.
383 383
      */
384 384
     private function buildUrl($query, $units, $lang, $appid, $mode, $url)
385 385
     {
Please login to merge, or discard this patch.