Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
@@ -12,13 +12,11 @@ use Symfony\Component\HttpFoundation\Response;
class EnsureSchoolYearEditable
{
public function __construct(private SchoolYearWriteGuard $guard)
{
}
public function __construct(private SchoolYearWriteGuard $guard) {}
public function handle(Request $request, Closure $next): Response
{
if (!in_array(strtoupper($request->method()), ['POST', 'PUT', 'PATCH', 'DELETE'], true)) {
if (! in_array(strtoupper($request->method()), ['POST', 'PUT', 'PATCH', 'DELETE'], true)) {
return $next($request);
}
@@ -84,7 +82,7 @@ class EnsureSchoolYearEditable
private function lookupYear(string $id, string $table, string $column): ?string
{
if (!ctype_digit($id) || !DB::getSchemaBuilder()->hasTable($table)) {
if (! ctype_digit($id) || ! DB::getSchemaBuilder()->hasTable($table)) {
return null;
}