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 ( 78c5cf...93608b )
by Cees-Jan
07:34 queued 05:28
created
src/Messages/Factory.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -99,10 +99,9 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param string $target
103 102
      * @param array $payload
104 103
      *
105
-     * @return Rpc
104
+     * @return RpcError
106 105
      */
107 106
     public static function rpcError($uniqid, array $payload = [])
108 107
     {
@@ -112,7 +111,7 @@  discard block
 block discarded – undo
112 111
     /**
113 112
      * @param array $line
114 113
      *
115
-     * @return Rpc
114
+     * @return RpcError
116 115
      */
117 116
     protected static function rpcErrorFromLine(array $line)
118 117
     {
@@ -143,7 +142,7 @@  discard block
 block discarded – undo
143 142
      * @param string $uniqid
144 143
      * @param array $payload
145 144
      *
146
-     * @return RpcSuccess
145
+     * @return RpcNotify
147 146
      */
148 147
     public static function rpcNotify($uniqid, array $payload = [])
149 148
     {
@@ -152,7 +151,7 @@  discard block
 block discarded – undo
152 151
 
153 152
     /**
154 153
      * @param array $line
155
-     * @return RpcSuccess
154
+     * @return RpcNotify
156 155
      */
157 156
     protected static function rpcNotifyFromLine(array $line)
158 157
     {
Please login to merge, or discard this patch.
src/Messages/Rpc.php 2 patches
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.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace WyriHaximus\React\ChildProcess\Messenger\Messages;
4 4
 
5
-use React\Promise\Deferred;
6
-use React\Promise\RejectedPromise;
7
-
8 5
 class Rpc implements \JsonSerializable, ActionableMessageInterface
9 6
 {
10 7
     /**
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
@@ -42,11 +42,17 @@
 block discarded – undo
42 42
         return hash_hmac('sha256', $line, $key, true);
43 43
     }
44 44
 
45
+    /**
46
+     * @param string $signature
47
+     */
45 48
     protected static function validate($signature, $line, $key)
46 49
     {
47 50
         return hash_equals($signature, static::sign($line, $key));
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $line
55
+     */
50 56
     public static function fromLine($line, array $lineOptions)
51 57
     {
52 58
         if (static::validate(base64_decode($line['signature']), $line['line'], $lineOptions['key'])) {
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.