typos
This commit is contained in:
@@ -12,14 +12,14 @@ final class Bootstrap extends Controller
|
|||||||
public function getBootstrapScript(ServerRequestInterface $request): ResponseInterface
|
public function getBootstrapScript(ServerRequestInterface $request): ResponseInterface
|
||||||
{
|
{
|
||||||
return new Text(
|
return new Text(
|
||||||
text: file_get_contents(getcwd() . '/vendor/twbs/bootstrap/dist/jss/bootstrap.js'),
|
text: file_get_contents(getcwd() . '/vendor/twbs/bootstrap/dist/js/bootstrap.js'),
|
||||||
headers: ['Content-Type' => ['application/javascript; charset=utf-8']]);
|
headers: ['Content-Type' => ['application/javascript; charset=utf-8']]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getBootstrapStyle(ServerRequestInterface $request): ResponseInterface
|
public function getBootstrapStyle(ServerRequestInterface $request): ResponseInterface
|
||||||
{
|
{
|
||||||
return new Text(
|
return new Text(
|
||||||
text: file_get_contents(getcwd() . '/vendor/twbs/bootstrap/dist/jss/bootstrap.js'),
|
text: file_get_contents(getcwd() . '/vendor/twbs/bootstrap/dist/css/bootstrap.css'),
|
||||||
headers: ['Content-Type' => ['text/css; charset=utf-8']]);
|
headers: ['Content-Type' => ['text/css; charset=utf-8']]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user