Fixed HttpFx not becoming available to registerRoutes.

This commit is contained in:
Pachira 2023-09-07 23:57:14 +00:00
parent a4e39d5e56
commit bb4d3e80b0
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
0.2309.72236
0.2309.72356

View file

@ -1,7 +1,7 @@
<?php
// HttpFx.php
// Created: 2022-02-15
// Updated: 2023-09-06
// Updated: 2023-09-07
namespace Index\Http;
@ -294,6 +294,6 @@ class HttpFx implements IRouter {
* @param IRouteHandler $handler Routes handler.
*/
public function register(IRouteHandler $handler): void {
$handler->registerRoutes($this->router);
$handler->registerRoutes($this);
}
}