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 (#22)
by Cees-Jan
12:00 queued 01:58
created
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.