Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Jan 2, 2024
1 parent fb0730c commit 260e70f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Recorders/ValidationErrors.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public function record(RequestHandled $event): void

/**
* Parse validation errors.
*
* @return array<int, string>
*/
protected function parseValidationErrors(Request $request, BaseResponse $response): array
{
Expand All @@ -81,6 +83,8 @@ protected function parseValidationErrors(Request $request, BaseResponse $respons

/**
* Parse session validation errors.
*
* @return null|array<int, string>
*/
protected function parseSessionValidationErrors(Request $request, BaseResponse $response): ?array
{
Expand All @@ -98,6 +102,8 @@ protected function parseSessionValidationErrors(Request $request, BaseResponse $

/**
* Parse JSON validation errors.
*
* @return null|array<int, string>
*/
protected function parseJsonValidationErrors(Request $request, BaseResponse $response): ?array
{
Expand All @@ -117,6 +123,8 @@ protected function parseJsonValidationErrors(Request $request, BaseResponse $res

/**
* Parse Inertia validation errors.
*
* @return null|array<int, string>
*/
protected function parseInertiaValidationErrors(Request $request, BaseResponse $response): ?array
{
Expand All @@ -137,6 +145,8 @@ protected function parseInertiaValidationErrors(Request $request, BaseResponse $

/**
* Parse unknown validation errors.
*
* @return null|array<int, string>
*/
protected function parseUnknownValidationErrors(Request $request, BaseResponse $response): ?array
{
Expand Down

0 comments on commit 260e70f

Please sign in to comment.