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 — 3.x (#2239)
by
unknown
05:10
created
Slim/Router.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
             return $this->dispatcher;
222 222
         }
223 223
 
224
-        $routeDefinitionCallback = function (RouteCollector $r) {
224
+        $routeDefinitionCallback = function(RouteCollector $r) {
225 225
             foreach ($this->getRoutes() as $route) {
226 226
                 $r->addRoute($route->getMethods(), $route->getPattern(), $route->getIdentifier());
227 227
             }
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      */
273 273
     public function getNamedRoute($name)
274 274
     {
275
-        $routes = array_filter($this->routes, function ($route) use ($name) {
275
+        $routes = array_filter($this->routes, function($route) use ($name) {
276 276
             return $name === $route->getName();
277 277
         });
278 278
 
Please login to merge, or discard this patch.