Skip to content

Commit 0815e0a

Browse files
simonhampclaude
andcommitted
Apply Pint formatting fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 233faff commit 0815e0a

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

app/Http/Controllers/Account/AuthController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ public function logout()
2727
*
2828
* @TODO Implement additional brute-force protection with custom blocked IPs model.
2929
*
30-
* @param LoginRequest $request
31-
* @throws \Illuminate\Validation\ValidationException
3230
* @return \Illuminate\Http\RedirectResponse
31+
*
32+
* @throws \Illuminate\Validation\ValidationException
3333
*/
3434
public function processLogin(LoginRequest $request)
3535
{
3636
$credentials = $request->only('email', 'password');
37-
$key = 'login-attempt:' . $request->ip();
37+
$key = 'login-attempt:'.$request->ip();
3838
$attemptsPerHour = 5;
3939

4040
if (\RateLimiter::tooManyAttempts($key, $attemptsPerHour)) {
@@ -46,7 +46,7 @@ public function processLogin(LoginRequest $request)
4646
->withInput($request->only(['email', 'remember']))
4747
->withErrors([
4848
'email' => 'Too many login attempts. Please try again in '
49-
. $blockedUntil . ' minutes.',
49+
.$blockedUntil.' minutes.',
5050
]);
5151
}
5252

app/SupportTicket/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ enum Status: string
1212

1313
public function translated(): string
1414
{
15-
return __('account.support_ticket.status.' . $this->value);
15+
return __('account.support_ticket.status.'.$this->value);
1616
}
1717
}

database/migrations/2025_04_28_135326_create_support_tickets_table.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
use Illuminate\Database\Schema\Blueprint;
66
use Illuminate\Support\Facades\Schema;
77

8-
return new class extends Migration {
8+
return new class extends Migration
9+
{
910
public function up(): void
1011
{
1112
Schema::create('support_tickets', function (Blueprint $table) {

database/migrations/2025_04_28_160102_create_replies_table.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
use Illuminate\Database\Schema\Blueprint;
77
use Illuminate\Support\Facades\Schema;
88

9-
return new class extends Migration {
9+
return new class extends Migration
10+
{
1011
public function up(): void
1112
{
1213
Schema::create('replies', function (Blueprint $table) {
1314
$table->id();
1415
$table->foreignIdFor(SupportTicket::class);
15-
$table->foreignIdFor(User::class );
16+
$table->foreignIdFor(User::class);
1617
$table->text('message');
1718
$table->json('attachments')->nullable();
1819
$table->boolean('note');

database/seeders/SupportTicketSeeder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Database\Seeders;
44

55
use App\Models\SupportTicket;
6-
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
76
use Illuminate\Database\Seeder;
87

98
class SupportTicketSeeder extends Seeder

0 commit comments

Comments
 (0)