Completed
Pull Request — master (#76)
by Alex
02:36
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
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
      *
323 323
      * @param array|int|string $query      The place to get weather information for. For possible values see ::getWeather.
324 324
      * @param \DateTime        $start      The \DateTime object of the date to get the first weather information from.
325
-     * @param \DateTime|int    $endOrCount Can be either a \DateTime object representing the end of the period to
325
+     * @param integer    $endOrCount Can be either a \DateTime object representing the end of the period to
326 326
      *                                     receive weather history data for or an integer counting the number of
327 327
      *                                     reports requested.
328 328
      * @param string           $type       The period of the weather history requested. Can be either be either "tick",
@@ -407,13 +407,13 @@  discard block
 block discarded – undo
407 407
      * Build the url to fetch weather data from.
408 408
      *
409 409
      * @param        $query
410
-     * @param        $units
411
-     * @param        $lang
412
-     * @param        $appid
413
-     * @param        $mode
410
+     * @param        string $units
411
+     * @param        string $lang
412
+     * @param        string $appid
413
+     * @param        string $mode
414 414
      * @param string $url   The url to prepend.
415 415
      *
416
-     * @return bool|string The fetched url, false on failure.
416
+     * @return string The fetched url, false on failure.
417 417
      */
418 418
     private function buildUrl($query, $units, $lang, $appid, $mode, $url)
419 419
     {
Please login to merge, or discard this patch.