GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — master (#1)
by Dominic
02:31
created
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $this->socket->open();
74 74
 
75
-        $metrics = array_map(function (MetricInterface $metric) {
75
+        $metrics = array_map(function(MetricInterface $metric) {
76 76
             return $metric->getData();
77 77
         }, $this->queue);
78 78
 
Please login to merge, or discard this patch.
src/Datadog/Metric.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         if (!empty($this->tags)) {
31 31
             $tags = [];
32 32
 
33
-            array_walk($this->tags, function ($tagValue, $tagName) use (&$tags) {
33
+            array_walk($this->tags, function($tagValue, $tagName) use (&$tags) {
34 34
                 $tags[] = is_integer($tagName) ? $tagValue : $tagName . ':' . $tagValue;
35 35
             });
36 36
 
Please login to merge, or discard this patch.
src/MetricInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -11,6 +11,7 @@
 block discarded – undo
11 11
      * @param string $key
12 12
      * @param mixed  $value
13 13
      * @param string $type
14
+     * @return void
14 15
      */
15 16
     public function __construct($key, $value, $type);
16 17
 
Please login to merge, or discard this patch.