Files
rkm-conectasus-ci-sandbox/api/app/Exceptions/ExameImagem/ExceededJornadaException.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

18 lines
345 B
PHP

<?php
namespace App\Exceptions\ExameImagem;
use Exception;
use Illuminate\Http\Response;
class ExceededJornadaException extends Exception
{
public function render()
{
return response()->json(
json_decode(json_encode(['requires_supervisor_jornada' => true]), true),
Response::HTTP_OK
);
}
}