Completed
Pull Request — master (#1)
by Harry
04:26
created
src/Client.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     /**
277 277
      * Decrement a metric
278 278
      *
279
-     * @param  string|array $metrics    Metric(s) to decrement
279
+     * @param  string $metrics    Metric(s) to decrement
280 280
      * @param  int          $delta      Value to increment the metric by
281 281
      * @param  int          $sampleRate Sample rate of metric
282 282
      * @param  array        $tags       List of tags for this metric
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
      *
332 332
      * @param  string $metric Metric to gauge
333 333
      * @param  int    $value  Set the value of the gauge
334
-     * @param  array  $tags   List of tags for this metric
334
+     * @param  string[]  $tags   List of tags for this metric
335 335
      *
336 336
      * @return Client This instance
337 337
      */
@@ -349,8 +349,8 @@  discard block
 block discarded – undo
349 349
      * Sets - count the number of unique values passed to a key
350 350
      *
351 351
      * @param  string $metric
352
-     * @param  mixed  $value
353
-     * @param  array  $tags List of tags for this metric
352
+     * @param  integer  $value
353
+     * @param  string[]  $tags List of tags for this metric
354 354
      *
355 355
      * @return Client This instance
356 356
      */
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      *                          - priority - Can be 'normal' or 'low'
379 379
      *                          - source - Assign a source type to the event
380 380
      *                          - alert - Can be 'error', 'warning', 'info' or 'success'
381
-     * @param  array  $tags     List of tags for this event
381
+     * @param  string[]  $tags     List of tags for this event
382 382
      *
383 383
      * @return Client This instance
384 384
      * @throws ConnectionException If there is a connection problem with the host
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
      *                         UNKNOWN = 3)
418 418
      * @param array  $metadata - time - Assign a timestamp to the service check
419 419
      *                         - hostname - Assign a hostname to the service check
420
-     * @param array  $tags     List of tags for this event
420
+     * @param string[]  $tags     List of tags for this event
421 421
      *
422 422
      * @return Client This instance
423 423
      * @throws ConnectionException If there is a connection problem with the host
Please login to merge, or discard this patch.