Skip to content

Commit fbe7e85

Browse files
daniel-cintragithub-actions[bot]
authored andcommitted
Fix styling
1 parent e66895d commit fbe7e85

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/AdminAuth/Http/Controllers/NewPasswordController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ function ($user) use ($request) {
6161
return $status == Password::broker('usersModule')::PASSWORD_RESET
6262
? redirect()->route('adminAuth.loginForm')->with('success', 'Password updated')
6363
: back()->withInput($request->only('email'))
64-
->withErrors(['email' => __($status)]);
64+
->withErrors(['email' => __($status)]);
6565
}
6666
}

src/AdminAuth/Http/Controllers/PasswordResetLinkController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public function sendResetLinkEmail(Request $request)
4141
return $status == Password::broker('usersModule')::RESET_LINK_SENT
4242
? back()->with('success', __($status))
4343
: back()->withInput($request->only('email'))
44-
->withErrors(['email' => __($status)]);
44+
->withErrors(['email' => __($status)]);
4545
}
4646
}

src/AdminAuth/Http/Middleware/UserAuth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function handle($request, Closure $next, $guard = null)
1818
{
1919
if (Auth::guard('user')->guest()) {
2020
return redirect()->route('adminAuth.loginForm')
21-
->withErrors(['email' => 'Session expired, please login again.']);
21+
->withErrors(['email' => 'Session expired, please login again.']);
2222
}
2323

2424
return $next($request);

src/Console/MakeRouteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private function createModuleRoute(): void
5252
file_put_contents($path, $stub);
5353
} else {
5454
$stub = str_replace('<?php', '', $stub);
55-
$stub = str_replace('use Illuminate\Support\Facades\Route;', '// ' . Str::camel($this->resourceName) . ' routes', $stub);
55+
$stub = str_replace('use Illuminate\Support\Facades\Route;', '// '.Str::camel($this->resourceName).' routes', $stub);
5656

5757
file_put_contents($path, $stub, FILE_APPEND);
5858
}

src/Traits/UpdateOrder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function updateOrder(array $items): void
1212
foreach ($items as $index => $item) {
1313
if (is_array($item)) {
1414
$this->where('id', $item['id'])
15-
->update(['order' => $index]);
15+
->update(['order' => $index]);
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)