Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 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;
}