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 (#2)
by Evgeny
08:51
created
src/AbstractList.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,14 +83,14 @@  discard block
 block discarded – undo
83 83
      * @param Request $request
84 84
      * @param mixed $item
85 85
      */
86
-    public function assignPage(Request &$request, $item = null)
86
+    public function assignPage(Request & $request, $item = null)
87 87
     {
88 88
         $currentPage = 1;
89 89
         if (!is_array($request->getParams)) {
90
-            $request->getParams = (array)$request->getParams;
90
+            $request->getParams = (array) $request->getParams;
91 91
         }
92 92
         if (isset($request->getParams[$this->keyThreads])) {
93
-            $currentPage = (int)$request->getParams[$this->keyThreads];
93
+            $currentPage = (int) $request->getParams[$this->keyThreads];
94 94
         }
95 95
         $request->getParams[$this->keyThreads] = $currentPage + $this->countThreads;
96 96
     }
@@ -101,14 +101,14 @@  discard block
 block discarded – undo
101 101
      * @param Request $request
102 102
      * @param int $number
103 103
      */
104
-    public function assignThreadsNumber(Request &$request, $number = 0)
104
+    public function assignThreadsNumber(Request & $request, $number = 0)
105 105
     {
106 106
         $number++;
107 107
         if ($number == 1) {
108 108
             return;
109 109
         }
110 110
         if (!is_array($request->getParams)) {
111
-            $request->getParams = (array)$request->getParams;
111
+            $request->getParams = (array) $request->getParams;
112 112
         }
113 113
         $request->getParams[$this->keyThreads] = $number;
114 114
     }
Please login to merge, or discard this patch.
src/Entities/ItemList.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * @inheritdoc
37 37
      */
38
-    public function assignPage(Request &$request, $item = null)
38
+    public function assignPage(Request & $request, $item = null)
39 39
     {
40 40
         $lastId = 0;
41 41
         if ($item) {
42
-            $lastId = (int)$item['id'];
42
+            $lastId = (int) $item['id'];
43 43
         }
44 44
         if (!is_array($request->getParams)) {
45
-            $request->getParams = (array)$request->getParams;
45
+            $request->getParams = (array) $request->getParams;
46 46
         }
47 47
         if ($lastId > 0) {
48 48
             $request->getParams[$this->keyAlternativePagination] = $lastId;
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
     /**
53 53
      * @inheritdoc
54 54
      */
55
-    public function assignThreadsNumber(Request &$request, $number = 0)
55
+    public function assignThreadsNumber(Request & $request, $number = 0)
56 56
     {
57 57
         if (!is_array($request->getParams)) {
58
-            $request->getParams = (array)$request->getParams;
58
+            $request->getParams = (array) $request->getParams;
59 59
         }
60 60
         $request->getParams[$this->keyThreads] = "{$this->countThreads},$number";
61 61
     }
Please login to merge, or discard this patch.