Files
oficial/app/src/Controller/API/emptyBody.php
2023-10-13 10:45:21 -03:00

13 lines
236 B
PHP

<?php
namespace Incoviba\Controller\API;
use Psr\Http\Message\ResponseInterface;
trait emptyBody
{
public function emptyBody(ResponseInterface $response): ResponseInterface
{
return $response->withStatus(204);
}
}