change mapRoutes to protected
This commit is contained in:
@@ -23,7 +23,7 @@ final class Bootstrap extends Controller
|
|||||||
headers: ['Content-Type' => ['text/css; charset=utf-8']]);
|
headers: ['Content-Type' => ['text/css; charset=utf-8']]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static private function mapRoutes(Container $container, \Potter\Router\Router $router): void
|
static protected function mapRoutes(Container $container, \Potter\Router\Router $router): void
|
||||||
{
|
{
|
||||||
$router->map('GET', '/bootstrap.js', [self::class, 'getBootstrapScript']);
|
$router->map('GET', '/bootstrap.js', [self::class, 'getBootstrapScript']);
|
||||||
$router->map('GET', '/bootstrap.css', [self::class, 'getBootstrapStyle']);
|
$router->map('GET', '/bootstrap.css', [self::class, 'getBootstrapStyle']);
|
||||||
|
|||||||
Reference in New Issue
Block a user