mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-13 08:59:34 +03:00
feat: new frontend
This commit is contained in:
@@ -23,7 +23,8 @@ abstract class AbstractController implements ControllerInterface {
|
||||
* @return Response
|
||||
*/
|
||||
public function __invoke(): Response {
|
||||
return new Response(status: $this->httpStatus, headers: $this->headers, body: $this->getBody());
|
||||
$body = $this->getBody();
|
||||
return new Response(status: $this->httpStatus, headers: $this->headers, body: $body);
|
||||
}
|
||||
|
||||
abstract public function getBody(): string;
|
||||
|
Reference in New Issue
Block a user