make methods public

This commit is contained in:
2026-08-14 18:43:38 -04:00
parent 735c111e12
commit 3213c0f84f
+2 -2
View File
@@ -9,14 +9,14 @@ use \Psr\Http\Message\{ResponseInterface, ServerRequestInterface};
final class Bootstrap extends Controller
{
static private function getBootstrapScript(ServerRequestInterface $request): ResponseInterface
static public function getBootstrapScript(ServerRequestInterface $request): ResponseInterface
{
return new Text(
text: file_get_contents(getcwd() . '/vendor/twbs/bootstrap/dist/jss/bootstrap.js'),
headers: ['Content-Type' => ['application/javascript; charset=utf-8']]);
}
static private function getBootstrapStyle(ServerRequestInterface $request): ResponseInterface
static public function getBootstrapStyle(ServerRequestInterface $request): ResponseInterface
{
return new Text(
text: file_get_contents(getcwd() . '/vendor/twbs/bootstrap/dist/jss/bootstrap.js'),