@@ -14,14 +14,14 @@ |
||
14 | 14 | // private array $databases = [], |
15 | 15 | private string $pgHost = '', |
16 | 16 | private string $pgUser = '' |
17 | - ){ |
|
17 | + ) { |
|
18 | 18 | $this->pgHost = env('PGHOST'); |
19 | 19 | $this->pgUser = env('PGUSERNAME'); |
20 | 20 | } |
21 | 21 | |
22 | 22 | public function index(): \Inertia\Response |
23 | 23 | { |
24 | - $result = Process::pipe(function (Pipe $pipe) { |
|
24 | + $result = Process::pipe(function(Pipe $pipe) { |
|
25 | 25 | $pipe->command("/usr/bin/psql -h {$this->pgHost} -U {$this->pgUser} -l"); |
26 | 26 | $pipe->command("awk '{print $1}'"); |
27 | 27 | $pipe->command("egrep -v 'List|Name|--|\||\(|dev|hml|__|_2'"); |
@@ -25,7 +25,7 @@ |
||
25 | 25 | */ |
26 | 26 | public function store(Request $request): RedirectResponse |
27 | 27 | { |
28 | - if (! Auth::guard('web')->validate([ |
|
28 | + if (!Auth::guard('web')->validate([ |
|
29 | 29 | 'email' => $request->user()->email, |
30 | 30 | 'password' => $request->password, |
31 | 31 | ])) { |
@@ -16,7 +16,7 @@ |
||
16 | 16 | public function __invoke(Request $request): RedirectResponse|Response |
17 | 17 | { |
18 | 18 | return $request->user()->hasVerifiedEmail() |
19 | - ? redirect()->intended(route('dashboard', absolute: false)) |
|
19 | + ? redirect()->intended(route('dashboard', absolute : false)) |
|
20 | 20 | : Inertia::render('Auth/VerifyEmail', ['status' => session('status')]); |
21 | 21 | } |
22 | 22 | } |
@@ -45,7 +45,7 @@ |
||
45 | 45 | // database. Otherwise we will parse the error and return the response. |
46 | 46 | $status = Password::reset( |
47 | 47 | $request->only('email', 'password', 'password_confirmation', 'token'), |
48 | - function ($user) use ($request) { |
|
48 | + function($user) use ($request) { |
|
49 | 49 | $user->forceFill([ |
50 | 50 | 'password' => Hash::make($request->password), |
51 | 51 | 'remember_token' => Str::random(60), |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | { |
42 | 42 | $this->ensureIsNotRateLimited(); |
43 | 43 | |
44 | - if (! Auth::attempt($this->only('email', 'password'), $this->boolean('remember'))) { |
|
44 | + if (!Auth::attempt($this->only('email', 'password'), $this->boolean('remember'))) { |
|
45 | 45 | RateLimiter::hit($this->throttleKey()); |
46 | 46 | |
47 | 47 | throw ValidationException::withMessages([ |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | */ |
60 | 60 | public function ensureIsNotRateLimited(): void |
61 | 61 | { |
62 | - if (! RateLimiter::tooManyAttempts($this->throttleKey(), 5)) { |
|
62 | + if (!RateLimiter::tooManyAttempts($this->throttleKey(), 5)) { |
|
63 | 63 | return; |
64 | 64 | } |
65 | 65 |