Skip to content

Commit

Permalink
Merge pull request #3213 from MathiasReker/0-void-return
Browse files Browse the repository at this point in the history
Void return
  • Loading branch information
l0gicgate authored Jul 6, 2022
2 parents 5859b2e + f799d17 commit 4a61e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/Routing/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function createDispatcher(): FastRouteDispatcher
return $this->dispatcher;
}

$routeDefinitionCallback = function (FastRouteCollector $r) {
$routeDefinitionCallback = function (FastRouteCollector $r): void {
$basePath = $this->routeCollector->getBasePath();

foreach ($this->routeCollector->getRoutes() as $route) {
Expand Down

0 comments on commit 4a61e28

Please sign in to comment.