Skip to content

Commit

Permalink
fix: fix php-cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albertcht committed Sep 27, 2024
1 parent 3b9768d commit c1e2a0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/Http/Requests/DemoRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace App\Http\Requests;

use SwooleTW\Hyperf\Foundation\Http\FormRequest;

class DemoRequest extends FormRequest
{
/**
Expand All @@ -21,6 +22,9 @@ public function authorize(): bool
public function rules(): array
{
return [
'name' => 'required|string|min:3',
'email' => 'required|email',
'email2' => 'required|array',
];
}
}

0 comments on commit c1e2a0e

Please sign in to comment.