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 — develop ( ed81f3...cf83d8 )
by Gabriel
05:44
created
src/Records/Traits/ActiveRecord/ActiveRecordsTrait.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @param null $table
136
+     * @param string $table
137 137
      */
138 138
     public function setTable($table)
139 139
     {
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
     /**
347 347
      * Delete a Record's database entry
348 348
      *
349
-     * @param mixed|Record $input
349
+     * @param Record $input
350 350
      */
351 351
     public function delete($input)
352 352
     {
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
     }
497 497
 
498 498
     /**
499
-     * @param $query
499
+     * @param Query $query
500 500
      * @param array $params
501 501
      * @return RecordCollection
502 502
      */
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
     }
578 578
 
579 579
     /**
580
-     * @param $name
580
+     * @param string $name
581 581
      * @param $arguments
582 582
      * @return RecordCollection|null
583 583
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
         if (isset($where)) {
541 541
             if (is_array($where)) {
542 542
                 foreach ($where as $condition) {
543
-                    $condition = (array)$condition;
543
+                    $condition = (array) $condition;
544 544
                     $query->where($condition[0], $condition[1]);
545 545
                 }
546 546
             } else {
@@ -722,7 +722,7 @@  discard block
 block discarded – undo
722 722
 
723 723
         if ($result->numRows()) {
724 724
             $row = $result->fetchResult();
725
-            return (int)$row['count'];
725
+            return (int) $row['count'];
726 726
         }
727 727
 
728 728
         return false;
Please login to merge, or discard this patch.
src/Records/Traits/HasFilters/RecordsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 
97 97
     /**
98 98
      * @param $query
99
-     * @return mixed
99
+     * @return SelectQuery
100 100
      * @internal param array $filters
101 101
      */
102 102
     public function filter($query)
Please login to merge, or discard this patch.
src/Records/Traits/Relations/HasRelationsRecordsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param $type
70
+     * @param string $type
71 71
      * @param $array
72 72
      */
73 73
     public function initRelationsFromArray($type, $array)
Please login to merge, or discard this patch.
src/Records/Traits/Relations/HasRelationsRecordTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @param $name
43
+     * @param string $name
44 44
      * @param $arguments
45 45
      * @return \Nip\Records\AbstractModels\Record|\Nip\Records\Collections\Collection
46 46
      */
Please login to merge, or discard this patch.
src/Router/Generator/UrlGenerator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
      * Extract the query string from the given path.
218 218
      *
219 219
      * @param  string  $path
220
-     * @return array
220
+     * @return string[]
221 221
      */
222 222
     protected function extractQueryString($path)
223 223
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@
 block discarded – undo
142 142
         $root = $this->formatRoot($this->formatScheme($secure));
143 143
         list($path, $query) = $this->extractQueryString($path);
144 144
         return $this->format(
145
-                $root, '/'.trim($path.'/'.$tail, '/')
146
-            ).$query;
145
+                $root, '/' . trim($path . '/' . $tail, '/')
146
+            ) . $query;
147 147
     }
148 148
 
149 149
     /**
Please login to merge, or discard this patch.
src/Router/Route/AbstractRoute.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param $type
105
+     * @param string $type
106 106
      * @return $this
107 107
      */
108 108
     public function setType($type)
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 
161 161
     /**
162 162
      * @param array $params
163
-     * @return mixed
163
+     * @return string
164 164
      */
165 165
     public function getBase($params = [])
166 166
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     }
176 176
 
177 177
     /**
178
-     * @param $base
178
+     * @param string $base
179 179
      */
180 180
     public function setBase($base)
181 181
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
 
222 222
     /**
223 223
      * @param array $params
224
-     * @return mixed|string
224
+     * @return string
225 225
      */
226 226
     public function assemble($params = [])
227 227
     {
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
     /**
301
-     * @param mixed $request
301
+     * @param \Nip\Request $request
302 302
      */
303 303
     public function setRequest($request)
304 304
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      */
87 87
     public function getParserClass()
88 88
     {
89
-        return 'Nip\Router\Parsers\\'.inflector()->camelize($this->getType());
89
+        return 'Nip\Router\Parsers\\' . inflector()->camelize($this->getType());
90 90
     }
91 91
 
92 92
     /**
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $base = $this->getBase($params);
156 156
         $base = rtrim($base, "/");
157 157
 
158
-        return $base.$this->assemble($params);
158
+        return $base . $this->assemble($params);
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.
src/Router/Router.php 2 patches
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * @param $name
43
-     * @return Route
43
+     * @return null|Route\Route
44 44
      */
45 45
     public function getRoute($name)
46 46
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
     /**
114 114
      * @param $name
115
-     * @param array $params
115
+     * @param boolean $params
116 116
      * @return string
117 117
      */
118 118
     public function assembleFull($name, $params = [])
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     /**
132 132
      * @param $name
133 133
      * @param array $params
134
-     * @return Route
134
+     * @return null|Route\Route
135 135
      */
136 136
     public function getDefaultRoute($name, &$params = [])
137 137
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @return mixed
156
+     * @return Request
157 157
      */
158 158
     public function getRequest()
159 159
     {
@@ -170,8 +170,8 @@  discard block
 block discarded – undo
170 170
 
171 171
     /**
172 172
      * @param $name
173
-     * @param array $params
174
-     * @return mixed|string
173
+     * @param boolean $params
174
+     * @return string|null
175 175
      */
176 176
     public function assemble($name, $params = [])
177 177
     {
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     }
196 196
 
197 197
     /**
198
-     * @param $name
198
+     * @param string $name
199 199
      * @return bool
200 200
      */
201 201
     public function hasRoute($name)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@
 block discarded – undo
144 144
                     $module = array_shift($parts);
145 145
                     $params['controller'] = isset($parts[0]) ? $parts[0] : null;
146 146
                     $params['action'] = isset($parts[1]) ? $parts[1] : null;
147
-                    $route = $this->getRoute($module.'.default');
147
+                    $route = $this->getRoute($module . '.default');
148 148
                 }
149 149
             }
150 150
         }
Please login to merge, or discard this patch.
src/Router/RouterAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @param bool|Router $router
43
+     * @param Router $router
44 44
      * @return $this
45 45
      */
46 46
     public function setRouter($router = false)
Please login to merge, or discard this patch.
src/Session/SessionManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * Public method to return the session id
74 74
      * @todo implement a verification method ( ex: adding another validation string in the sessionID )
75
-     * @return int
75
+     * @return string
76 76
      */
77 77
     public function getId()
78 78
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     public function setRootDomain($domain)
99 99
     {
100 100
         if ($domain !== 'localhost') {
101
-            ini_set('session.cookie_domain', '.'.$domain);
101
+            ini_set('session.cookie_domain', '.' . $domain);
102 102
         }
103 103
 
104 104
         CookieJar::instance()->setDefaults(
Please login to merge, or discard this patch.