Completed
Branch master (7ec0f4)
by Harry
02:58
created
src/Client.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Get Port
217 217
      *
218
-     * @return string Port
218
+     * @return integer Port
219 219
      */
220 220
     public function getPort()
221 221
     {
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
      * @param  float  $time   Time in milliseconds
293 293
      * @param  array  $tags   List of tags for this metric
294 294
      *
295
-     * @return bool True if data transfer is successful
295
+     * @return Client|null True if data transfer is successful
296 296
      */
297 297
     public function timing($metric, $time, array $tags = [])
298 298
     {
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
      * @param  callable $func   Function to record
312 312
      * @param  array    $tags   List of tags for this metric
313 313
      *
314
-     * @return bool True if data transfer is successful
314
+     * @return Client|null True if data transfer is successful
315 315
      */
316 316
     public function time($metric, $func, array $tags = [])
317 317
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -428,7 +428,7 @@
 block discarded – undo
428 428
         $prefix = $this->namespace ? $this->namespace . '.' : '';
429 429
         $value = sprintf('_sc|%s|%d', $prefix . $name, $status);
430 430
 
431
-        $applyMetadata = function ($metadata, $definition) use (&$value) {
431
+        $applyMetadata = function($metadata, $definition) use (&$value) {
432 432
             foreach ($metadata as $key => $data) {
433 433
                 if (isset($definition[$key])) {
434 434
                     $value .= sprintf('|%s:%s', $definition[$key], $data);
Please login to merge, or discard this patch.