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
Push — master ( e9ac7c...cbed3d )
by Cees-Jan
06:26
created
src/Messages/Rpc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @param $uniqid
46
+     * @param string $uniqid
47 47
      * @return static
48 48
      */
49 49
     public function setUniqid($uniqid)
Please login to merge, or discard this patch.
src/OutstandingCall.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return mixed
45
+     * @return string
46 46
      */
47 47
     public function getUniqid()
48 48
     {
Please login to merge, or discard this patch.
src/Messages/Factory.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,11 +57,10 @@  discard block
 block discarded – undo
57 57
     }
58 58
 
59 59
     /**
60
-     * @param string $target
61 60
      * @param array  $payload
62 61
      * @param mixed  $uniqid
63 62
      *
64
-     * @return Rpc
63
+     * @return RpcError
65 64
      */
66 65
     public static function rpcError($uniqid, array $payload = [])
67 66
     {
@@ -83,7 +82,7 @@  discard block
 block discarded – undo
83 82
      * @param string $uniqid
84 83
      * @param array  $payload
85 84
      *
86
-     * @return RpcSuccess
85
+     * @return RpcNotify
87 86
      */
88 87
     public static function rpcNotify($uniqid, array $payload = [])
89 88
     {
@@ -136,7 +135,7 @@  discard block
 block discarded – undo
136 135
     /**
137 136
      * @param array $line
138 137
      *
139
-     * @return Rpc
138
+     * @return RpcError
140 139
      */
141 140
     protected static function rpcErrorFromLine(array $line)
142 141
     {
@@ -154,7 +153,7 @@  discard block
 block discarded – undo
154 153
 
155 154
     /**
156 155
      * @param  array      $line
157
-     * @return RpcSuccess
156
+     * @return RpcNotify
158 157
      */
159 158
     protected static function rpcNotifyFromLine(array $line)
160 159
     {
Please login to merge, or discard this patch.
src/Messages/SecureLine.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@  discard block
 block discarded – undo
38 38
         ]) . LineInterface::EOL;
39 39
     }
40 40
 
41
+    /**
42
+     * @param string $line
43
+     */
41 44
     public static function fromLine($line, array $lineOptions)
42 45
     {
43 46
         if (static::validate(base64_decode($line['signature'], true), $line['line'], $lineOptions['key'])) {
@@ -52,6 +55,9 @@  discard block
 block discarded – undo
52 55
         return hash_hmac('sha256', $line, $key, true);
53 56
     }
54 57
 
58
+    /**
59
+     * @param string $signature
60
+     */
55 61
     protected static function validate($signature, $line, $key)
56 62
     {
57 63
         return hash_equals($signature, static::sign($line, $key));
Please login to merge, or discard this patch.
src/Messenger.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * @param $target
129 129
      * @param $payload
130
-     * @return React\Promise\PromiseInterface
130
+     * @return PromiseInterface
131 131
      */
132 132
     public function callRpc($target, $payload)
133 133
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
     /**
188 188
      * @param  ActionableMessageInterface $line
189
-     * @return LineInterface
189
+     * @return string
190 190
      */
191 191
     public function createLine(ActionableMessageInterface $line)
192 192
     {
Please login to merge, or discard this patch.