Skip to content

Commit 0da0128

Browse files
committed
Fix cache
1 parent 7ab761b commit 0da0128

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Builder/RouterBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public function build(): Router
2828
$routes = $this->cache?->get($this->cacheKey);
2929
if ($routes !== null) {
3030
$this->mapRoutes($router, $routes);
31+
32+
return $router;
3133
}
3234

3335
foreach ($this->classDirectories as $classDirectory) {

0 commit comments

Comments
 (0)