Listado proyectos
This commit is contained in:
12
app/src/Controller/API/emptyBody.php
Normal file
12
app/src/Controller/API/emptyBody.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace Incoviba\Controller\API;
|
||||
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
trait emptyBody
|
||||
{
|
||||
public function emptyBody(ResponseInterface $response): ResponseInterface
|
||||
{
|
||||
return $response->withStatus(204);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user