use Illuminate\Http\Exceptions\PostTooLargeException;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
+use Illuminate\Http\Response;
use Illuminate\Validation\ValidationException;
use Symfony\Component\ErrorHandler\Error\FatalError;
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface;
* If it returns a response, that will be provided back to the request
* upon an out of memory event.
*
- * @var ?callable<?\Illuminate\Http\Response>
+ * @var ?callable(): ?Response
*/
protected $onOutOfMemory = null;