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'),