Completed
Push — analysis-q1woN1 ( 7c55fe )
by Christian
17:54 queued 02:32
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   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
      * @throws OpenWeatherMap\Exception  If OpenWeatherMap returns an error.
200 200
      * @throws \InvalidArgumentException If an argument error occurs.
201 201
      *
202
-     * @return Array Array of CurrentWeather objects.
202
+     * @return CurrentWeatherGroup Array of CurrentWeather objects.
203 203
      *
204 204
      * @api
205 205
      */
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      * Returns the forecast for the place you specified. DANGER: Might return
216 216
      * fewer results than requested due to a bug in the OpenWeatherMap API!
217 217
      *
218
-     * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather.
218
+     * @param string $query The place to get weather information for. For possible values see ::getWeather.
219 219
      * @param string           $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned.
220 220
      * @param string           $lang  The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi.
221 221
      * @param string           $appid Your app id, default ''. See http://openweathermap.org/appid for more details.
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
      *
403 403
      * @param array|int|string $query      The place to get weather information for. For possible values see ::getWeather.
404 404
      * @param \DateTime        $start      The \DateTime object of the date to get the first weather information from.
405
-     * @param \DateTime|int    $endOrCount Can be either a \DateTime object representing the end of the period to
405
+     * @param integer    $endOrCount Can be either a \DateTime object representing the end of the period to
406 406
      *                                     receive weather history data for or an integer counting the number of
407 407
      *                                     reports requested.
408 408
      * @param string           $type       The period of the weather history requested. Can be either be either "tick",
@@ -487,10 +487,10 @@  discard block
 block discarded – undo
487 487
      * Build the url to fetch weather data from.
488 488
      *
489 489
      * @param        $query
490
-     * @param        $units
491
-     * @param        $lang
492
-     * @param        $appid
493
-     * @param        $mode
490
+     * @param        string $units
491
+     * @param        string $lang
492
+     * @param        string $appid
493
+     * @param        string $mode
494 494
      * @param string $url   The url to prepend.
495 495
      *
496 496
      * @return bool|string The fetched url, false on failure.
Please login to merge, or discard this patch.