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 (#45)
by
unknown
01:04
created
src/OffsetMatchResult.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param int|string $group
79 79
      *
80
-     * @return string
80
+     * @return OffsetGroup
81 81
      *
82 82
      * @throws RegexFailed
83 83
      */
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @param int|string $group
107 107
      *
108
-     * @return string
108
+     * @return OffsetGroup
109 109
      *
110 110
      * @throws RegexFailed
111 111
      */
Please login to merge, or discard this patch.
src/ReplaceResult.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
     /** @var int */
22 22
     protected $count;
23 23
 
24
+    /**
25
+     * @param callable $replacement
26
+     */
24 27
     public function __construct($pattern, $replacement, $subject, $result, int $count)
25 28
     {
26 29
         $this->pattern = $pattern;
@@ -55,6 +58,10 @@  discard block
 block discarded – undo
55 58
         return new static($pattern, $replacement, $subject, $result, $count);
56 59
     }
57 60
 
61
+    /**
62
+     * @param string $replacement
63
+     * @param integer $limit
64
+     */
58 65
     protected static function doReplacement($pattern, $replacement, $subject, $limit): array
59 66
     {
60 67
         $count = 0;
@@ -64,6 +71,9 @@  discard block
 block discarded – undo
64 71
         return [$result, $count];
65 72
     }
66 73
 
74
+    /**
75
+     * @param integer $limit
76
+     */
67 77
     protected static function doReplacementWithCallable($pattern, callable $replacement, $subject, $limit): array
68 78
     {
69 79
         $replacement = function (array $matches) use ($pattern, $subject, $replacement) {
Please login to merge, or discard this patch.