From 3213c0f84f8417b3484fdd07a11dba2074626b04 Mon Sep 17 00:00:00 2001 From: Jay Potter Date: Fri, 14 Aug 2026 18:43:38 -0400 Subject: [PATCH] make methods public --- src/Potter/Bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Potter/Bootstrap.php b/src/Potter/Bootstrap.php index e27b5a2..5a31de1 100644 --- a/src/Potter/Bootstrap.php +++ b/src/Potter/Bootstrap.php @@ -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'),